com.HTTPRequest.Create

Creates a new HTTPRequest object from an URL.

Syntax

com.HTTPRequest.Create(
   url STRING )
  RETURNS com.HTTPRequest
  1. url defines the URL for the HTTP request.

Usage

Creates a 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).