@serenity-is/corelib / UploaderRequest

Interface: UploaderRequest

Table of contents

Properties

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:43


responseType

Optional responseType: "text" | "json"

Response type expected from the server. Default is json

Defined in

src/base/uploader.ts:45


url

Optional url: string

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

Defined in

src/base/uploader.ts:47