Optional
bodyRequest body.
When an object is provided for body, it will be serialized into JSON string by default. When application/x-www-form-urlencoded header is provided, the object will be serialized as query params.
Optional
headersRequest headers. An object with key-value pair.
For a undefined
value, the corresponding header will not be added to the request.
For a non-string value, it will be serialized before being added as a header.
Optional
methodHTTP method, GET or POST. Default value is GET.
Optional
queryQuery params. An object with key-value pair.
The object will be serialized as query string and appended to the url.
Generated using TypeDoc
Request options for fetchJson and fetchArrayBuffer