Skip to main content

IRequestDatalayerAPIOptions

Datalayer Core


Datalayer Core / IRequestDatalayerAPIOptions

Interface: IRequestDatalayerAPIOptions

Defined in: src/api/DatalayerApi.ts:121

Options for Datalayer API requests.

Extended by

Properties

body?

optional body?: any

Defined in: src/api/DatalayerApi.ts:127

Request body (JSON object or FormData)


headers?

optional headers?: Record<string, string>

Defined in: src/api/DatalayerApi.ts:129

Custom HTTP headers


method?

optional method?: string

Defined in: src/api/DatalayerApi.ts:125

HTTP method (GET, POST, PUT, DELETE, etc.)


signal?

optional signal?: AbortSignal

Defined in: src/api/DatalayerApi.ts:133

AbortSignal for request cancellation


token?

optional token?: string

Defined in: src/api/DatalayerApi.ts:131

JWT bearer token for authentication


url

url: string

Defined in: src/api/DatalayerApi.ts:123

Target URL for the request