Skip to content

UnparsedRequestOptions

UnparsedRequestOptions<R> = Omit<RequestOptions, "parse" | "responseType"> & object

Defined in: src/core/types.ts:401

Request options without parse: data is the body read as responseType (see BodyOf), or undefined with the body left unread on raw when there’s no responseType. parse: undefined is accepted so options can be built conditionally.

R extends ResponseType | undefined = undefined

optional parse?: undefined

optional responseType?: R