Skip to content
On this page

AjaxOptions

Properties

method

ts
method: "GET" | "POST"

url

ts
url: string

success

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

error

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

data

ts
data: string | object | ArrayBuffer

headers

ts
headers: Record<string, string>

withCredentials

ts
withCredentials: boolean

req

ts
req: XMLHttpRequest