SP.PageRequest.post(body) Method

Applies to: SharePoint Foundation 2010

Sets "POST" web request.

SP.PageRequest.post(body);

Parameters

body

Type: String

The HTTP body to assign to the web request.

Remarks

This method sets the HTTP verb to "POST", sets the HTTP body with specified body parameter, registers the internal handler for the completed request event of the web request and executes the web request. The internal handler for the completed request calls the handler for the succeeded or failed event, depending upon the results of the request.

Applies To

SP.PageRequest Class

See Also

Reference

SP.PageRequest Methods

SP.PageRequest Properties

SP Namespace