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.
Make the request asynchronously. Defaults to true.
If false, then add a timestamp to the request to prevent caching.
HTTP headers to add to the request.
If options.retry is true this specifies the maximum number of retries. Defaults to 5.
If options.retry is true this specifies the maximum amount of time to wait between retries in milliseconds. Defaults to 5000.
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.
Override the response type.
If true then if the request fails it will be retried with an exponential backoff.
Send 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.
Make the request asynchronously. Defaults to true.
If false, then add a timestamp to the request to prevent caching.
HTTP headers to add to the request.
If options.retry is true this specifies the maximum number of retries. Defaults to 5.
If options.retry is true this specifies the maximum amount of time to wait between retries in milliseconds. Defaults to 5000.
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.
Override the response type.
If true then if the request fails it will be retried with an exponential backoff.
Send 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.
Make the request asynchronously. Defaults to true.
If false, then add a timestamp to the request to prevent caching.
HTTP headers to add to the request.
If options.retry is true this specifies the maximum number of retries. Defaults to 5.
If options.retry is true this specifies the maximum amount of time to wait between retries in milliseconds. Defaults to 5000.
Override the response type.
If true then if the request fails it will be retried with an exponential backoff.
Send 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.
Make the request asynchronously. Defaults to true.
If false, then add a timestamp to the request to prevent caching.
HTTP headers to add to the request.
If options.retry is true this specifies the maximum number of retries. Defaults to 5.
If options.retry is true this specifies the maximum amount of time to wait between retries in milliseconds. Defaults to 5000.
Override the response type.
If true then if the request fails it will be retried with an exponential backoff.
Send 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.
Make the request asynchronously. Defaults to true.
If false, then add a timestamp to the request to prevent caching.
HTTP headers to add to the request.
If options.retry is true this specifies the maximum number of retries. Defaults to 5.
If options.retry is true this specifies the maximum amount of time to wait between retries in milliseconds. Defaults to 5000.
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.
Override the response type.
If true then if the request fails it will be retried with an exponential backoff.
Send 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.