Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Returns a specific HTTP request value. This is normally set within the SetOECGIRequest service. This method 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.

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('GetHTTPPostString')
Response = HTTP_Services('GetHTTPAdditionalValues')

Returns

N/AThe value associated with the specific GetHTTPxxxx attribute.

Parameters

N/A

Remarks

The supported HTTP request values are as follows:

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.

The 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 routineThis 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 above..