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.
Optional
async?: booleanMake the request asynchronously. Defaults to true.
Optional
cache?: booleanIf false, then add a timestamp to the request to prevent caching.
Optional
headers?: {}HTTP headers to add to the request.
Optional
maxRetries?: numberIf options.retry is true this specifies the maximum number of retries. Defaults to 5.
Optional
maxRetryDelay?: numberIf options.retry is true this specifies the maximum amount of time to wait between retries in milliseconds. Defaults to 5000.
Optional
postdata?: object | DocumentData 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.
Optional
responseType?: stringOverride the response type.
Optional
retry?: booleanIf true then if the request fails it will be retried with an exponential backoff.
Optional
withCredentials?: 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.
Optional
async?: booleanMake the request asynchronously. Defaults to true.
Optional
cache?: booleanIf false, then add a timestamp to the request to prevent caching.
Optional
headers?: {}HTTP headers to add to the request.
Optional
maxRetries?: numberIf options.retry is true this specifies the maximum number of retries. Defaults to 5.
Optional
maxRetryDelay?: numberIf options.retry is true this specifies the maximum amount of time to wait between retries in milliseconds. Defaults to 5000.
Optional
postdata?: object | DocumentData 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.
Optional
responseType?: stringOverride the response type.
Optional
retry?: booleanIf true then if the request fails it will be retried with an exponential backoff.
Optional
withCredentials?: 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.
Optional
async?: booleanMake the request asynchronously. Defaults to true.
Optional
cache?: booleanIf false, then add a timestamp to the request to prevent caching.
Optional
headers?: {}HTTP headers to add to the request.
Optional
maxRetries?: numberIf options.retry is true this specifies the maximum number of retries. Defaults to 5.
Optional
maxRetryDelay?: numberIf options.retry is true this specifies the maximum amount of time to wait between retries in milliseconds. Defaults to 5000.
Optional
responseType?: stringOverride the response type.
Optional
retry?: booleanIf true then if the request fails it will be retried with an exponential backoff.
Optional
withCredentials?: 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.
Optional
async?: booleanMake the request asynchronously. Defaults to true.
Optional
cache?: booleanIf false, then add a timestamp to the request to prevent caching.
Optional
headers?: {}HTTP headers to add to the request.
Optional
maxRetries?: numberIf options.retry is true this specifies the maximum number of retries. Defaults to 5.
Optional
maxRetryDelay?: numberIf options.retry is true this specifies the maximum amount of time to wait between retries in milliseconds. Defaults to 5000.
Optional
responseType?: stringOverride the response type.
Optional
retry?: booleanIf true then if the request fails it will be retried with an exponential backoff.
Optional
withCredentials?: 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.
Optional
async?: booleanMake the request asynchronously. Defaults to true.
Optional
cache?: booleanIf false, then add a timestamp to the request to prevent caching.
Optional
headers?: {}HTTP headers to add to the request.
Optional
maxRetries?: numberIf options.retry is true this specifies the maximum number of retries. Defaults to 5.
Optional
maxRetryDelay?: numberIf options.retry is true this specifies the maximum amount of time to wait between retries in milliseconds. Defaults to 5000.
Optional
postdata?: object | DocumentData 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.
Optional
responseType?: stringOverride the response type.
Optional
retry?: booleanIf true then if the request fails it will be retried with an exponential backoff.
Optional
withCredentials?: 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.