Interface RestRequestOptions

Base request options

Hierarchy

Properties

data?: unknown
formData?: FormData

Form data

headers?: Record<string, string>
operationName?: string
operationType?: string
params?: Record<string, unknown>
parseJson?: boolean

Whether to parse the response as JSON

Default

true
query?: Record<string, unknown>

Query parameters

responseType?: "json" | "text" | "blob" | "arraybuffer"
timeout?: number
withCredentials?: boolean

Generated using TypeDoc