IRequestDatalayerAPIOptions
Datalayer Core / IRequestDatalayerAPIOptions
Interface: IRequestDatalayerAPIOptions
Defined in: tech/datalayer/core/src/api/DatalayerApi.ts:121
Options for Datalayer API requests.
Extended by
Properties
body?
optionalbody:any
Defined in: tech/datalayer/core/src/api/DatalayerApi.ts:127
Request body (JSON object or FormData)
headers?
optionalheaders:Record<string,string>
Defined in: tech/datalayer/core/src/api/DatalayerApi.ts:129
Custom HTTP headers
method?
optionalmethod:string
Defined in: tech/datalayer/core/src/api/DatalayerApi.ts:125
HTTP method (GET, POST, PUT, DELETE, etc.)
signal?
optionalsignal:AbortSignal
Defined in: tech/datalayer/core/src/api/DatalayerApi.ts:133
AbortSignal for request cancellation
token?
optionaltoken:string
Defined in: tech/datalayer/core/src/api/DatalayerApi.ts:131
JWT bearer token for authentication
url
url:
string
Defined in: tech/datalayer/core/src/api/DatalayerApi.ts:123
Target URL for the request