Sends a delete request.
Url to resource (for instance my_addon/endpoint).
Optional
options: HttpOptionsThe HTTP options to send with the request.
Sends a get request.
Url to resource (for instance my_addon/endpoint).
Optional
options: HttpOptionsThe HTTP options to send with the request.
Sends a patch request.
Url to resource (for instance my_addon/endpoint).
Optional
data: {}Payload to send to the server.
Optional
options: HttpOptionsThe HTTP options to send with the request.
Sends a post request.
Url to resource (for instance my_addon/endpoint).
Optional
data: {}Payload to send to the server.
Optional
options: HttpOptionsThe HTTP options to send with the request.
Sends a put request.
Url to resource (for instance my_addon/endpoint).
Optional
data: {}Payload to send to the server.
Optional
options: HttpOptionsThe HTTP options to send with the request.
HTTP service for sending requests to a given URL
By default, the service will work with the JSON data format. If anything but JSON is returned from the endpoint, the
responseType
property in theoptions
parameter needs to be set.