Sending the HTTP request |
To send the HTTP request invoke the Http#getResponse method passing an HttpRequest as an argument.
Example
// create new HttpRequest HttpRequest request = new HttpRequest("http://www.myserver.com");
// create new Http instance Http http = new Http();
// get response HttpResponse response = http.getResponse(request); |