@torque-labs/sdk
@torque-labs/sdk / TorqueRequestOptions
Defined in: sdk/src/utils/requests.ts:9arrow-up-right
Interface for the Torque SDK request options
apiKey?
string
The API key for the request
body?
unknown
The body of the request (if applicable)
headers?
HeadersInit
The headers for the request
method
"POST" | "GET" | "PATCH" | "DELETE"
"POST"
"GET"
"PATCH"
"DELETE"
The HTTP method of the request
token?
The auth token for the request
url
The URL of the request
Last updated 10 months ago