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.
Name of the query param.
Value to set.
This builder instance.
Add multiple HTTP query parameters to the request.
Map of HTTP query params to add.
This builder instance.
StaticdeleteStart building a HTTP DELETE request.
URL path to request.
StaticdoStart building a HTTP request.
HTTP method to use.
URL path to request.
StaticgetStart building a HTTP GET request.
URL path to request.
StaticpatchStart building a HTTP PATCH request.
URL path to request.
StaticpostStart building a HTTP POST request.
URL path to request.
StaticputStart building a HTTP PUT request.
URL path to request.
Builds
ApiRequestinstances using the builder pattern. Used for testing.