The method to use for decoding integers from this request's response. See the setIntDecoding method for more details.
Execute the request, but do not process the response data in any way.
A promise which resolves to the raw response data, exactly as returned by the server.
Additional headers to send in the request. Optional.
Prepare a JSON response before returning it.
Use this method to change and restructure response
data as needed after receiving it from the
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
Body: The structure of the response's body