Basic HTTP request. Customizable
Full request URL or Api information
Request HTTP method
Cancel an inflight API request
The request promise to cancel
DELETE HTTP request
Full request URL or Api information
Request extra params
Getting endpoint for API
The name of the api
GET HTTP request
Full request URL or Api information
Request extra params
Retrieves a new and unique cancel token which can be provided in an axios request to be cancelled later.
Check if the request has a corresponding cancel token in the WeakMap.
if the request has a corresponding cancel token.
HEAD HTTP request
Full request URL or Api information
Request extra params
Checks to see if an error thrown is from an api request cancellation
Any error
PATCH HTTP request
Full request URL or Api information
Request extra params
POST HTTP request
Full request URL or Api information
Request extra params
PUT HTTP request
Full request URL or Api information
Request extra params
Updates the weakmap with a response promise and its cancel token such that the cancel token can be easily retrieved (and used for cancelling the request)
HTTP Client for REST requests. Send and receive JSON data. Sign request with AWS credentials if available Usage: