Documentation / @zerotal/client / index / RequestConfig
Interface: RequestConfig
Defined in: client/src/ApiClient.ts:26
The mutable request configuration passed through onRequest interceptors.
Modify and return the object (or a new one) to alter the outgoing request.
Properties
method
method:
string
Defined in: client/src/ApiClient.ts:27
url
url:
string
Defined in: client/src/ApiClient.ts:28
headers
headers:
Record<string,string>
Defined in: client/src/ApiClient.ts:30
Merged headers — modify here to add/override per-request headers.
body
body:
BodyInit|undefined
Defined in: client/src/ApiClient.ts:32
The request body (serialized): JSON string, FormData, Blob, … or undefined.