com.HTTPResponse.getDataResponse

Performs the HTTP request.

Syntax

getDataResponse(
   data BYTE )
  1. data is a BYTE variable receiving the HTTP response data.

Usage

The getDataResponse() method returns the body of an HTTP response into a BYTE variable.

The BYTE variable must be located in memory, otherwise operation fails.

Returns binary data as response from a server into a BYTE.

Previous content is discarded.

In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.