:: 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

20 Jan 09
How can i to send a lot of rows? JDF (0)

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

Documentation:

Recent changes:

2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5
2.5.0 - 2.5.4
2.5.4
2.5.0 - 2.5.3
2.5.3
2.5.0 - 2.5.2