akamai.amp.Request

The resource object interface.

Members

data

:Object

Data to send with a POST request

headers

:Object

A key value map of http headers to include in the reques

method

:string

The HTTP method to use, such as "GET", "POST", "PUT", "DELETE", etc. Ignored for non-HTTP(S) URLs. If no method value is provided, "GET" will be used.

url

:string

The URL to send the request to.

withCredentials

:boolean

A Boolean that indicates whether or not cross-site Access-Control requests should be made using credentials such as cookies or authorization headers. Defaults to false.