com.HTTPRequest.getResponse

Returns the response produced by one of request methods.

Syntax

getResponse()
  RETURNING result com.HTTPResponse

Usage

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.