You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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

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/A

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 routine.

  • No labels