:: Home >>

requestMethod

Specifies HTTP request method - GET (default) or POST

Syntax

var value = obj.getRequestMethod(); 
obj.setRequestMethod(value);        

Examples

var req = new AW.HTTP.Request;
req.setURL('/application/service.asmx'); 
req.setParameter('id', 12345);         
req.setParameter('filter', 'none');      
req.setRequestMethod('POST');  // use 'POST' request method
req.request();

See also

URL property, requestHeader property

Comments

No comments yet.
Comments will appear on this page and in the main forum.

Documentation:

Recent changes:

2.5.0 - 2.5.2
2.5.2
2.5, 2.5.1
2.5.1
2.5
Release History
2.5
2.0.2
textToValue
textToData