:: Documentation >>

URL

Sets or retrieves the request URL.

Use setURL() method to specify the static part of the request URL and setParameter() methods for each parameter

Syntax

var value = obj.getURL(); 
obj.setURL(value);        

Examples

var req = new AW.HTTP.Request;
req.setURL('/application/service.asmx'); // set base url
req.setParameter('id', 12345);           // set 'id' parameter
req.setParameter('filter', 'none');      // set 'filter' parameter
req.request(); // calls /application/service.asmx?id=12345&filter=none

See also

parameter property, requestMethod property

Comments

Need to have lowercase filename Jeff C. (5)

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5