AjaxOptions
Properties
method
ts
method: "GET" | "POST"url
ts
url: stringsuccess
ts
success: (response: any, req: XMLHttpRequest) => anyerror
ts
error: (error: any, req: XMLHttpRequest) => anydata
ts
data: string | object | ArrayBufferheaders
ts
headers: Record<string, string>withCredentials
ts
withCredentials: booleanreq
ts
req: XMLHttpRequest