SP.WebRequestInfo.method property (sp.js)
Gets or sets the HTTP method for the web request.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.WebRequestInfo.get_method ()
var value = SP.WebRequestInfo.set_method ()
Return value
String