Skip to content
On this page

Directus Cloud

Everything you need to start building. Provisioned in 90 seconds. Starting at $15/month.

Get Started

This is an auto-generated document to support extension builders understand the internal packages they can utilize. To find our written guides, tutorials, and API/SDK reference, check out our main docs .

Directus / @directus/sdk / types / RequestOptions

Interface: RequestOptions ​

Properties ​

body? ​

optional body: string | FormData

Defined in ​

types/request.ts:8


headers? ​

optional headers: Record<string, string>

Defined in ​

types/request.ts:7


method? ​

optional method: HttpMethod

Defined in ​

types/request.ts:5


onRequest? ​

optional onRequest: RequestTransformer

Defined in ​

types/request.ts:9


onResponse? ​

optional onResponse: ResponseTransformer<any>

Defined in ​

types/request.ts:10


params? ​

optional params: Record<string, any>

Defined in ​

types/request.ts:6


path ​

path: string

Defined in ​

types/request.ts:4