RequestParameters interface

This is the object type expected to be returned by the transformRequest callback.

Properties

credentials

Used to specify the cross-origin request (CORs) credentials setting. Can be 'same-origin' or 'include'.

headers

The headers to be sent with the request.

url

The url to be requested.

Property Details

credentials

Used to specify the cross-origin request (CORs) credentials setting. Can be 'same-origin' or 'include'.

credentials?: string

Property Value

string

headers

The headers to be sent with the request.

headers?: object

Property Value

object

url

The url to be requested.

url?: string

Property Value

string