ExperimentalConstructs a DELETE request that interprets the body as a text stream and
returns an HttpResponse.
{string} The endpoint URL.
Optionaloptions: { {Object} The HTTP options to send with the request.
Optionalheaders?: Record<string, string | string[]>{Record<string, string | string[]>} The headers to send with the request.
Optionalparams?: Record<string, string | string[]>{Record<string, string | string[]>} The parameters to send with the request.
{"text"} The format the response is returned as.
A Promise of the HttpResponse, with the response body of type string.
Constructs a DELETE request that interprets the body as a JSON object and returns
an HttpResponse.
{string} The endpoint URL.
Optionaloptions: { {Object} The HTTP options to send with the request.
Optionalheaders?: Record<string, string | string[]>{Record<string, string | string[]>} The headers to send with the request.
Optionalparams?: Record<string, string | string[]>{Record<string, string | string[]>} The parameters to send with the request.
{"json"} The format the response is returned as.
A Promise of the HttpResponse, with the response body of the requested type.
Constructs a DELETE request that interprets the body as a Blob and
returns an HttpResponse.
{string} The endpoint URL.
Optionaloptions: { {Object} The HTTP options to send with the request.
Optionalheaders?: Record<string, string | string[]>{Record<string, string | string[]>} The headers to send with the request.
Optionalparams?: Record<string, string | string[]>{Record<string, string | string[]>} The parameters to send with the request.
{"blob"} The format the response is returned as.
A Promise of the HttpResponse, with the response body of type Blob.
Constructs a GET request that interprets the body as a text stream and
returns an HttpResponse.
{string} The endpoint URL.
Optionaloptions: { {Object} The HTTP options to send with the request.
Optionalheaders?: Record<string, string | string[]>{Record<string, string | string[]>} The headers to send with the request.
Optionalparams?: Record<string, string | string[]>{Record<string, string | string[]>} The parameters to send with the request.
{"text"} The format the response is returned as.
A Promise of the HttpResponse for the request, with the response body of type string.
Constructs a GET request that interprets the body as a JSON object and
returns an HttpResponse.
{string} The endpoint URL.
Optionaloptions: { {Object} The HTTP options to send with the request.
Optionalheaders?: Record<string, string | string[]>{Record<string, string | string[]>} The headers to send with the request.
Optionalparams?: Record<string, string | string[]>{Record<string, string | string[]>} The parameters to send with the request.
{"json"} The format the response is returned as.
A Promise of the HttpResponse for the request, with a response body of the requested type.
Constructs a GET request that interprets the body as a Blob and
returns an HttpResponse.
{string} The endpoint URL.
Optionaloptions: { {Object} The HTTP options to send with the request.
Optionalheaders?: Record<string, string | string[]>{Record<string, string | string[]>} The headers to send with the request.
Optionalparams?: Record<string, string | string[]>{Record<string, string | string[]>} The parameters to send with the request.
{"blob"} The format the response is returned as.
A Promise of the HttpResponse for the request, with the response body of type Blob.
Constructs a HEAD request that returns a null body and
returns an HttpResponse.
A Promise of the HttpResponse for the request, with the response body of null.
Constructs an OPTIONS request that interprets the body as text stream
and returns an HttpResponse.
{string} The endpoint URL.
Optionaloptions: { {Object} The HTTP options to send with the request.
Optionalheaders?: Record<string, string | string[]>{Record<string, string | string[]>} The headers to send with the request.
Optionalparams?: Record<string, string | string[]>{Record<string, string | string[]>} The parameters to send with the request.
{"text"} The format the response is returned as.
A Promise of the HttpResponse for the request, with the response body of type string.
Constructs an OPTIONS request that interprets the body as a JSON object
and returns an HttpResponse.
{string} The endpoint URL.
Optionaloptions: { {Object} The HTTP options to send with the request.
Optionalheaders?: Record<string, string | string[]>{Record<string, string | string[]>} The headers to send with the request.
Optionalparams?: Record<string, string | string[]>{Record<string, string | string[]>} The parameters to send with the request.
{"json"} The format the response is returned as.
A Promise of the HttpResponse for the request, with the response body of the requested type.
Constructs an OPTIONS request that interprets the body as a Blob
and returns an HttpResponse.
{string} The endpoint URL.
Optionaloptions: { {Object} The HTTP options to send with the request.
Optionalheaders?: Record<string, string | string[]>{Record<string, string | string[]>} The headers to send with the request.
Optionalparams?: Record<string, string | string[]>{Record<string, string | string[]>} The parameters to send with the request.
{"blob"} The format the response is returned as.
A Promise of the HttpResponse for the request, with the response body of type Blob.
Constructs a PATCH request that interprets the body as a text stream and returns the
full HttpResponse.
{string} The endpoint URL.
{any | null} The content to send with the request.
Optionaloptions: { {Object} The HTTP options to send with the request.
Optionalheaders?: Record<string, string | string[]>{Record<string, string | string[]>} The headers to send with the request.
Optionalparams?: Record<string, string | string[]>{Record<string, string | string[]>} The parameters to send with the request.
{"text"} The format the response is returned as.
A Promise of the HttpResponse for the request, with a response body of type string.
Constructs a PATCH request that interprets the body as a JSON object
and returns an HttpResponse.
{string} The endpoint URL.
{any | null} The content to send with the request.
Optionaloptions: { {Object} The HTTP options to send with the request.
Optionalheaders?: Record<string, string | string[]>{Record<string, string | string[]>} The headers to send with the request.
Optionalparams?: Record<string, string | string[]>{Record<string, string | string[]>} The parameters to send with the request.
{"json"} The format the response is returned as.
A Promise of the HttpResponse for the request, with a response body in the requested type.
Constructs a PATCH request that interprets the body as a Blob and returns the
full HttpResponse.
{string} The endpoint URL.
{any | null} The content to send with the request.
Optionaloptions: { {Object} The HTTP options to send with the request.
Optionalheaders?: Record<string, string | string[]>{Record<string, string | string[]>} The headers to send with the request.
Optionalparams?: Record<string, string | string[]>{Record<string, string | string[]>} The parameters to send with the request.
{"blob"} The format the response is returned as.
A Promise of the HttpResponse for the request, with a response body of type Blob.
Constructs a POST request that interprets the body as a text stream and returns
an HttpResponse.
{string} The endpoint URL.
{any | null} The content to send with the request.
Optionaloptions: { {Object} The HTTP options to send with the request.
Optionalheaders?: Record<string, string | string[]>{Record<string, string | string[]>} The headers to send with the request.
Optionalparams?: Record<string, string | string[]>{Record<string, string | string[]>} The parameters to send with the request.
{"text"} The format the response is returned as.
A Promise of the HttpResponse for the request, with a response body of type string.
Constructs a POST request that interprets the body as a JSON object
and returns an HttpResponse.
{string} The endpoint URL.
{any | null} The content to send with the request.
Optionaloptions: { {Object} The HTTP options to send with the request.
Optionalheaders?: Record<string, string | string[]>{Record<string, string | string[]>} The headers to send with the request.
Optionalparams?: Record<string, string | string[]>{Record<string, string | string[]>} The parameters to send with the request.
{"json"} The format the response is returned as.
A Promise of the HttpResponse for the request, with a response body of the requested type.
Constructs a POST request that interprets the body as a Blob and returns
an HttpResponse.
{string} The endpoint URL.
{any | null} The content to send with the request.
Optionaloptions: { {Object} The HTTP options to send with the request.
Optionalheaders?: Record<string, string | string[]>{Record<string, string | string[]>} The headers to send with the request.
Optionalparams?: Record<string, string | string[]>{Record<string, string | string[]>} The parameters to send with the request.
{"blob"} The format the response is returned as.
A Promise of the HttpResponse for the request, with a response body of type Blob.
Constructs a PUT request that interprets the body as a text stream and returns the
full HTTP response.
{string} The endpoint URL.
{any | null} The content to send with the request.
Optionaloptions: { {Object} The HTTP options to send with the request.
Optionalheaders?: Record<string, string | string[]>{Record<string, string | string[]>} The headers to send with the request.
Optionalparams?: Record<string, string | string[]>{Record<string, string | string[]>} The parameters to send with the request.
{"text"} The format the response is returned as.
A Promise of the HttpResponse for the request, with a response body of type string.
Constructs a PUT request that interprets the body as a JSON object and returns an HTTP
response.
{string} The endpoint URL.
{any | null} The content to send with the request.
Optionaloptions: { {Object} The HTTP options to send with the request.
Optionalheaders?: Record<string, string | string[]>{Record<string, string | string[]>} The headers to send with the request.
Optionalparams?: Record<string, string | string[]>{Record<string, string | string[]>} The parameters to send with the request.
{"json"} The format the response is returned as.
A Promise of the HttpResponse for the request, with a response body of the requested type.
Constructs a PUT request that interprets the body as a Blob and returns the
full HTTP response.
{string} The endpoint URL.
{any | null} The content to send with the request.
Optionaloptions: { {Object} The HTTP options to send with the request.
Optionalheaders?: Record<string, string | string[]>{Record<string, string | string[]>} The headers to send with the request.
Optionalparams?: Record<string, string | string[]>{Record<string, string | string[]>} The parameters to send with the request.
{"blob"} The format the response is returned as.
A Promise of the HttpResponse for the request, with a response body of type Blob.
Constructs a request which interprets the body as a string and returns an HttpResponse with the response body in the requested type.
{string} The endpoint URL.
Optionaloptions: { {Object} The HTTP options to send with the request.
Optionalbody?: any{any | null} The content to send with the request.
Optionalheaders?: Record<string, string | string[]>{Record<string, string | string[]>} The headers to send with the request.
Optionalparams?: Record<string, string | string[]>{Record<string, string | string[]>} The parameters to send with the request.
{"text"} The format the response is returned as.
A Promise of the HttpResponse, with the response body of type string.
Constructs a request which interprets the body as a JSON object and returns an HttpResponse with the response body in the requested type.
{string} The endpoint URL.
Optionaloptions: { {Object} The HTTP options to send with the request.
Optionalbody?: any{any | null} The content to send with the request.
Optionalheaders?: Record<string, string | string[]>{Record<string, string | string[]>} The headers to send with the request.
Optionalparams?: Record<string, string | string[]>{Record<string, string | string[]>} The parameters to send with the request.
{"json"} The format the response is returned as.
A Promise of the HttpResponse, with the response body of the requested type.
Constructs a request which interprets the body as a Blob and returns an HttpResponse with the response body in the requested type.
{string} The endpoint URL.
Optionaloptions: { {Object} The HTTP options to send with the request.
Optionalbody?: any{any | null} The content to send with the request.
Optionalheaders?: Record<string, string | string[]>{Record<string, string | string[]>} The headers to send with the request.
Optionalparams?: Record<string, string | string[]>{Record<string, string | string[]>} The parameters to send with the request.
{"blob"} The format the response is returned as.
A Promise of the HttpResponse, with the response body of type Blob.
This section of the API relates to the methods used to make HTTP requests.