interface InternalRequest
extends
RequestDataexport interface InternalRequest extends RequestDataInternal request options
optionalappendToFormData? : boolean
Whether to append JSON data to form data instead of payload_json when sending files
Inherited from: RequestData
Alternate authorization data to use for this request only, or false to disable the Authorization header. When making a request to a route that includes a token (such as interactions or webhooks), set to false to avoid accidentally unsetting the instance token if a 401 is encountered.
Inherited from: RequestData
The body to send to this request. If providing as BodyInit, set passThroughBody: true
Inherited from: RequestData
Files to be attached to this request
Inherited from: RequestData
fullRoute : RouteLike
Additional headers to add to this request
Inherited from: RequestData
method : RequestMethod
optionalpassThroughBody? : boolean
Whether to pass-through the body property directly to fetch(). This only applies when files is NOT present
Inherited from: RequestData
optionalquery? : URLSearchParams
Query string parameters to append to the called endpoint
Inherited from: RequestData
optionalsignal? : AbortSignal | undefined
The signal to abort the queue entry or the REST call, where applicable
Inherited from: RequestData