HttpRequestBuilder
Used to construct an HTTP request
Parameters
method
The HTTP method (verb) to use when making the request
url
Endpoint to make request to
headers
HTTP headers
body
Outgoing payload. Initially empty
Properties
Inherited functions
Link copied to clipboard
Add a single header. This will append to any existing headers with the same name.
Link copied to clipboard
Modify the headers inside the given block
Link copied to clipboard
Set values from an existing Url instance
Modify the URL inside the block