HTTPClient object.
The method to use for decoding integers from this request's response. See the setIntDecoding method for more details.
Execute the request.
Additional headers to send in the request. Optional.
A promise which resolves to the response data.
The path of this request.
Prepare a JSON response before returning it.
Use this method to change and restructure response
data as needed after receiving it from the do()
method.
Response body received
Configure how integers in this request's JSON response will be decoded.
The options are:
The method to use when parsing the response for this request. Must be one of "default", "safe", "mixed", or "bigint".
Generated using TypeDoc
Base abstract class for JSON requests.
Data: The type returned from the
do()
methodBody: The structure of the response's body