RHTTP_RETRIEVE Function

Retrieves document from an HTTP server; returns an HTTP error code.

Syntax

RHTTP_RETRIEVE(document, request)

Syntax Elements

document

The result of the specified HTTP request.

request

An HTTP request that has been used in a preceding RHTTP_GET, RHTTP_POST or RHTTP_SOAP_REQUEST call. (Otherwise, the function call is invalid.)

By default, document is AM delimited; but if 'no-translate' has been set by RHTTP_SET_DEFAULT then document is NL delimited.

Return Value

200 signals success; 9999 signals internal error.

HTTP error codes are enumerated in #REALHTTP.USER.DEFS.

Operation

RHTTP_RETRIEVE cancels the active status of a request.