SP.WebRequestInfo object

Represents the data from the caller needed to make the outbound web request.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.WebRequestInfo()

Members

The WebRequestInfo object has the following members.

Constructor

The WebRequestInfo object has the following constructor.

Constructor

Description

WebRequestInfo

Initializes a new instance of the SP.WebRequestInfo object.

Properties

The WebRequestInfo object has the following properties.

Property

Description

body

Gets or sets the body of the HTTP request message.

headers

Gets or sets a dictionary containing the name-value pairs for the headers to send in the HTTP request.

method

Gets or sets the HTTP method for the web request.

typeId

This member is reserved for internal use and is not intended to be used directly from your code.

url

Gets or sets the URL for the web request.