Skip to content
On this page

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

Source

types/request.ts:8


headers?

optional headers: Record<string, string>

Source

types/request.ts:7


method?

optional method: HttpMethod

Source

types/request.ts:5


onRequest?

optional onRequest: RequestTransformer

Source

types/request.ts:9


onResponse?

optional onResponse: ResponseTransformer<any>

Source

types/request.ts:10


params?

optional params: Record<string, any>

Source

types/request.ts:6


path

path: string

Source

types/request.ts:4