An extension of ApiRequest for requests that include a body.
Returns the body of the request as a byte array.
The MIME type of the request body (e.g., application/json).
application/json
Returns a map of HTTP headers to be included with the request.
The HTTP method to be used for the request (e.g., GET, POST).
Returns a map of URL query parameters to be appended to the request URI.
Returns the complete URL for the request, including the scheme, host, and path.