The HTTPRequest class / com.HTTPRequest methods |
Returns the response produced by one of request methods.
getResponse() RETURNING result com.HTTPResponse
The getResponse() method returns a com.HTTPResponse object corresponding to the response that was produced by a call to one of the request methods: doRequest(), doTextRequest(), doXmlRequest(), doFormEncodedRequest(), or beginXmlRequest() and endXmlRequest().
Stops the program flow until the response is received.
In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.