@serenity-is/corelib / UploaderRequest

Interface: UploaderRequest

Defined in: src/base/uploader.ts:46

Properties

headers?

optional headers: Record<string, string>

Defined in: src/base/uploader.ts:48

A function that will return headers to be sent with request, or static set of headers


responseType?

optional responseType: "text" | "json"

Defined in: src/base/uploader.ts:50

Response type expected from the server. Default is json


url?

optional url: string

Defined in: src/base/uploader.ts:52

URL to send the request to. Default is ~/File/TemporaryUpload