SP.WebRequestInfo.url property (sp.js)
Gets or sets the URL for the web request.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.WebRequestInfo.get_url ()
var value = SP.WebRequestInfo.set_url ()
Return value
String