:: Documentation >>

request

Sends the request.

This method sends the request to the server and should be executed after setting request URL and all request parameters. The request can be sent synchronously or asynchronously depending on async property. When the request is completed the object calls response() method.

null

Syntax

obj.request();

Examples

var req = new AW.HTTP.Request;
req.setURL('<url>');
req.response = function(text) {
    alert(text); // do something with response here
};
req.request();

See also

async property, response method (callback)

Comments

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