com.HTTPRequest.Create

Creates an new HTTPRequest object from a URL.

Syntax

com.HTTPRequest.Create(
   url STRING )
  RETURNING result com.HTTPRequest
  1. url is the URL for the HTTP request.

Usage

Creates an com.HTTPRequest object by providing a mandatory URL with HTTP or HTTPS as protocol.

The url parameter can be an identifier of an URL mapping with an optional alias:// prefix. See FGLPROFILE Configuration for more details about URL mapping with aliases, and for proxy and security configuration.

In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).