com.HttpRequest.Create

Creates a new HttpRequest object from a 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 a 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).