Perform an HTTP DELETE request to the given url with additional options such as headers, retries, credentials, etc.
The URL to make the request to.
Additional options.
Optionalasync?: booleanMake the request asynchronously. Defaults to true.
Optionalcache?: booleanIf false, then add a timestamp to the request to prevent caching.
Optionalheaders?: {}HTTP headers to add to the request.
OptionalmaxRetries?: numberIf options.retry is true this specifies the maximum number of retries. Defaults to 5.
OptionalmaxRetryDelay?: numberIf options.retry is true this specifies the maximum amount of time to wait between retries in milliseconds. Defaults to 5000.
Optionalpostdata?: anyData to send in the body of the request. Some content types are handled automatically. If postdata is an XML Document, it is handled. If the Content-Type header is set to 'application/json' then the postdata is JSON stringified. Otherwise, by default, the data is sent as form-urlencoded.
OptionalresponseType?: stringOverride the response type.
Optionalretry?: booleanIf true then if the request fails it will be retried with an exponential backoff.
OptionalwithCredentials?: booleanSend cookies with this request. Defaults to false.
The callback used when the response has returned. Passed (err, data) where data is the response (format depends on response type: text, Object, ArrayBuffer, XML) and err is the error code.
The request object.
Perform an HTTP GET request to the given url with additional options such as headers, retries, credentials, etc.
The URL to make the request to.
Additional options.
Optionalasync?: booleanMake the request asynchronously. Defaults to true.
Optionalcache?: booleanIf false, then add a timestamp to the request to prevent caching.
Optionalheaders?: {}HTTP headers to add to the request.
OptionalmaxRetries?: numberIf options.retry is true this specifies the maximum number of retries. Defaults to 5.
OptionalmaxRetryDelay?: numberIf options.retry is true this specifies the maximum amount of time to wait between retries in milliseconds. Defaults to 5000.
Optionalpostdata?: anyData to send in the body of the request. Some content types are handled automatically. If postdata is an XML Document, it is handled. If the Content-Type header is set to 'application/json' then the postdata is JSON stringified. Otherwise, by default, the data is sent as form-urlencoded.
Optionalprogress?: EventHandlerObject to use for firing progress events.
OptionalresponseType?: stringOverride the response type.
Optionalretry?: booleanIf true then if the request fails it will be retried with an exponential backoff.
OptionalwithCredentials?: booleanSend cookies with this request. Defaults to false.
The callback used when the response has returned. Passed (err, data) where data is the response (format depends on response type: text, Object, ArrayBuffer, XML) and err is the error code.
The request object.
Perform an HTTP POST request to the given url with additional options such as headers, retries, credentials, etc.
The URL to make the request to.
Data to send in the body of the request. Some content types are handled automatically. If postdata is an XML Document, it is handled. If the Content-Type header is set to 'application/json' then the postdata is JSON stringified. Otherwise, by default, the data is sent as form-urlencoded.
Additional options.
Optionalasync?: booleanMake the request asynchronously. Defaults to true.
Optionalcache?: booleanIf false, then add a timestamp to the request to prevent caching.
Optionalheaders?: {}HTTP headers to add to the request.
OptionalmaxRetries?: numberIf options.retry is true this specifies the maximum number of retries. Defaults to 5.
OptionalmaxRetryDelay?: numberIf options.retry is true this specifies the maximum amount of time to wait between retries in milliseconds. Defaults to 5000.
OptionalresponseType?: stringOverride the response type.
Optionalretry?: booleanIf true then if the request fails it will be retried with an exponential backoff.
OptionalwithCredentials?: booleanSend cookies with this request. Defaults to false.
The callback used when the response has returned. Passed (err, data) where data is the response (format depends on response type: text, Object, ArrayBuffer, XML) and err is the error code.
The request object.
Perform an HTTP PUT request to the given url with additional options such as headers, retries, credentials, etc.
The URL to make the request to.
Data to send in the body of the request. Some content types are handled automatically. If postdata is an XML Document, it is handled. If the Content-Type header is set to 'application/json' then the postdata is JSON stringified. Otherwise, by default, the data is sent as form-urlencoded.
Additional options.
Optionalasync?: booleanMake the request asynchronously. Defaults to true.
Optionalcache?: booleanIf false, then add a timestamp to the request to prevent caching.
Optionalheaders?: {}HTTP headers to add to the request.
OptionalmaxRetries?: numberIf options.retry is true this specifies the maximum number of retries. Defaults to 5.
OptionalmaxRetryDelay?: numberIf options.retry is true this specifies the maximum amount of time to wait between retries in milliseconds. Defaults to 5000.
OptionalresponseType?: stringOverride the response type.
Optionalretry?: booleanIf true then if the request fails it will be retried with an exponential backoff.
OptionalwithCredentials?: booleanSend cookies with this request. Defaults to false.
The callback used when the response has returned. Passed (err, data) where data is the response (format depends on response type: text, Object, ArrayBuffer, XML) and err is the error code.
The request object.
Make a general purpose HTTP request with additional options such as headers, retries, credentials, etc.
The HTTP method "GET", "POST", "PUT", "DELETE".
The url to make the request to.
Additional options.
Optionalasync?: booleanMake the request asynchronously. Defaults to true.
Optionalcache?: booleanIf false, then add a timestamp to the request to prevent caching.
Optionalheaders?: {}HTTP headers to add to the request.
OptionalmaxRetries?: numberIf options.retry is true this specifies the maximum number of retries. Defaults to 5.
OptionalmaxRetryDelay?: numberIf options.retry is true this specifies the maximum amount of time to wait between retries in milliseconds. Defaults to 5000.
Optionalpostdata?: anyData to send in the body of the request. Some content types are handled automatically. If postdata is an XML Document, it is handled. If the Content-Type header is set to 'application/json' then the postdata is JSON stringified. Otherwise, by default, the data is sent as form-urlencoded.
OptionalresponseType?: stringOverride the response type.
Optionalretry?: booleanIf true then if the request fails it will be retried with an exponential backoff.
OptionalwithCredentials?: booleanSend cookies with this request. Defaults to false.
The callback used when the response has returned. Passed (err, data) where data is the response (format depends on response type: text, Object, ArrayBuffer, XML) and err is the error code.
The request object.
Used to send and receive HTTP requests.