Add a base64 encoded HTTP body to the request.
The body as a base64 string.
This builder instance.
Add basic authentication to the request.
Username to send.
Password to send.
This builder instance.
Add a binary HTTP body to the request.
The binary body as a Buffer.
This builder instance.
Add a HTTP body to the request.
The body as a raw string.
This builder instance.
Build a request object using the current builder config.
Add a HTTP header to the request.
Name of the header.
Value to set.
This builder instance.
Add multiple HTTP headers to the request.
Map of HTTP headers to add.
This builder instance.
Add a HTTP query parameter to the request.
Value to set.
This builder instance.
Add multiple HTTP query parameters to the request.
Map of HTTP query params to add.
This builder instance.
Static
deleteStart building a HTTP DELETE request.
URL path to request.
Static
doStart building a HTTP request.
HTTP method to use.
URL path to request.
Static
getStart building a HTTP GET request.
URL path to request.
Static
patchStart building a HTTP PATCH request.
URL path to request.
Static
postStart building a HTTP POST request.
URL path to request.
Static
putStart building a HTTP PUT request.
URL path to request.
Generated using TypeDoc
Builds
ApiRequest
instances using the builder pattern. Used for testing.