Skip to content

Latest commit

 

History

History
39 lines (20 loc) · 920 Bytes

UploaderRequest.md

File metadata and controls

39 lines (20 loc) · 920 Bytes

@serenity-is/corelib / UploaderRequest

Interface: UploaderRequest

Properties

headers?

optional headers: Record<string, string>

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

Defined in

src/base/uploader.ts:48


responseType?

optional responseType: "text" | "json"

Response type expected from the server. Default is json

Defined in

src/base/uploader.ts:50


url?

optional url: string

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

Defined in

src/base/uploader.ts:52