Page History
Calls the indicated HTTP web service routineReturns a specific HTTP request value.
Syntax
Code Block |
---|
Response = HTTP_Services('GetHTTPQueryString') Response = HTTP_Services('GetHTTPPathInfo') Response = HTTP_Services('GetHTTPContentType') Response = HTTP_Services('GetHTTPContentLength') Response = HTTP_Services('GetHTTPGatewayInterface') Response = HTTP_Services('GetHTTPHTTPS') Response = HTTP_Services('GetHTTPAccept') Response = HTTP_Services('GetHTTPCookie') Response = HTTP_Services('GetHTTPFrom') Response = HTTP_Services('GetHTTPReferer') Response = HTTP_Services('GetHTTPUserAgent') Response = HTTP_Services('GetHTTPTranslated') Response = HTTP_Services('GetHTTPRemoteAddr') Response = HTTP_Services('GetHTTPRemoteHost') Response = HTTP_Services('GetHTTPRemoteIdent') Response = HTTP_Services('GetHTTPRemoteUser') Response = HTTP_Services('GetHTTPRequestMethod') Response = HTTP_Services('GetHTTPScriptName') Response = HTTP_Services('GetHTTPServerName') Response = HTTP_Services('GetHTTPServerPort') Response = HTTP_Services('GetHTTPServerProtocol') Response = HTTP_Services('GetHTTPServerSoftware') Response = HTTP_Services('GetHTTPServerURL') Response = HTTP_Services('GetHTTPNoURLDecode') Response = HTTP_Services('GetHTTPResponseIsBinary') Response = HTTP_Services('GetHTTPRegistrySettings') Response = HTTP_Services('GetHTTPOECGIVersion') Response = HTTP_Services('GetHTTPGetString') Response = HTTP_Services('RunHTTPServiceGetHTTPPostString', HTTPService, RemainingURL) Response = HTTP_Services('GetHTTPAdditionalValues') |
Returns
The value associated with the specific GetHTTPxxxx attribute.
Parameters
N/A
Parameters
Parameter | Description |
---|---|
HTTPService | The HTTP (or web) service to call.. Required. |
RemainingURL | This is the remaining portion of the URL that has not yet been processed by previous services. Required. |
Remarks
The RunHTTPService service is the official way to call specific web service APIs. The HTTPService argument should contain the same name found in the URL segment that corresponds with the API resource. For instance, for the /customers
URL, the HTTPService argument should contain the value of customers. This will call the HTTP_CUSTOMERS_SERVICES
BASIC+ routine.
Remarks
This is normally set within the SetOECGIRequest service. These are parsed from the HTTP request array that is passed in from the OECGI. This service is not called directly as other services normally are. It is a generic service that various 'GetHTTPxxxx' services will call. This is why the meta data doesn't include GetHTTPValue but one or more specific GetHTTPxxxx options which are listed in the Syntax block aboveThe RemainingURL argument will contain the value of the remaining portion of the URL that follows the current URL segment. Examples of managing this are found in the HTTP_Entry_Point_Services routine.