url | The URL to which the request is sent is a string. |
data | Data is to be transmitted to the server. It can be a JSON object, a string, or an array. |
type | A kind of HTTP request, such as POST, PUT, or GET. The default is GET. |
success | A callback function is called when an Ajax request is successful. |
timeout | A timeout value in milliseconds for the request. |
username | In response to an HTTP access authentication request, utilize this username using XMLHttpRequest. |
xhr | A function is s called when the XMLHttpRequest object is created. |
xhrFields | To set on the native XMLHttpRequest object, an object of field_Name-field_Value pairs. |
statusCode | A JSON object containing numeric HTTP codes and methods to be invoked when the matching code is present in the response. |
accepts | The content type specified in the request header, which informs the server about the sort of answer it will accept in return. |
async | All queries are sent asynchronously by default. To make it synchronous, set it to “false”. |
beforeSend | A callback function will be called before the Ajax request is issued. |
cache | A boolean indicating the presence of browser cache. The default value is “true”. |
complete | When the request is completed, a callback function is invoked. |
contentType | When transmitting MIME material to the server, this string contains the kind of content. The default is “application/x-www-form-urlencoded; charset=UTF-8”. |
crossDomain | A boolean value that indicates whether or not a request is cross-domain. |
dataType | The type of data you anticipate receiving from the server. |
error | When the request fails, a callback function is executed. |
global | A boolean value indicating whether or not to invoke a global Ajax request handler. The default is “true”. |
headers | An object containing additional header key/value pairs to deliver with the request. |
ifModified | Only allow the request to succeed if the response has changed since the last request. The Last-Modified header is used to do this. The default setting is “false”. |
isLocal | Allow the present environment to be acknowledged as local. |
jsonp | In a JSONP request, you can change the name of the callback function. This value will be used instead of ‘callback’ in the query string’callback=?’ section of the URL |
jsonpCallback | A string holding the name of the callback function for a JSONP request. |
mimeType | Override the XMLHttpRequest mime type with a string containing a mime type. |
password | In response to an HTTP access authentication request, utilize this password using XMLHttpRequest. |
processData | A Boolean that indicates whether or not the data supplied to the data option will be transformed into a query string. The default value is “true”. |