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?
optional
body:any
Defined in: tech/datalayer/core/src/api/DatalayerApi.ts:127
Request body (JSON object or FormData)
headers?
optional
headers:Record
<string
,string
>
Defined in: tech/datalayer/core/src/api/DatalayerApi.ts:129
Custom HTTP headers
method?
optional
method:string
Defined in: tech/datalayer/core/src/api/DatalayerApi.ts:125
HTTP method (GET, POST, PUT, DELETE, etc.)
signal?
optional
signal:AbortSignal
Defined in: tech/datalayer/core/src/api/DatalayerApi.ts:133
AbortSignal for request cancellation
token?
optional
token: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