Skip to main content

AjaxOptions

Properties#

method#

method: "GET" | "POST"

url#

url: string

success#

success: (response: any, req: XMLHttpRequest) => any

error#

error: (error: any, req: XMLHttpRequest) => any

data#

data: string | object | ArrayBuffer

headers#

headers: Record<string, string>

withCredentials#

withCredentials: boolean

req#

req: XMLHttpRequest