RequestData
Represents possible data to be given to an endpoint
Whether to append JSON data to form data instead of
payload_json
when sending filesThe authorization prefix to use for this request, useful if you use this with bearer tokens
Default value
'Bot'
The body to send to this request. If providing as BodyInit, set
passThroughBody: true
Files to be attached to this request
Additional headers to add to this request
Whether to pass-through the body property directly to
fetch()
. This only applies when files is NOT present