Page History
Calls Sets the indicated HTTP web service routineHTTP request that the OECGI creates to memory so it can be retrieved by later routines. This avoids the need to pass this around into various routines.
Syntax
Code Block |
---|
Response = HTTP_Services('RunHTTPServiceSetOECGIRequest', HTTPService, RemainingURLRequest) |
Returns
N/A
Parameters
Parameter | Description |
---|---|
HTTPServiceRequest | The HTTP (or web) service to call.. @FM delimited array containing the HTTP request that OECGI passes in. Required.RemainingURL |
Remarks
This is
...
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.
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 routineused by the HTTP_MCP controller to store the @FM array from the OECGI into memory. There is no reason to use this service elsewhere.