Page History
...
Code Block |
---|
Response = HTTP_Services('RunHTTPServiceSetResponseBody', Body, HTTPServiceIsBinary, RemainingURLContentType) |
Returns
N/A
Parameters
Parameter | Description | |
---|---|---|
HTTPServiceBody | The HTTP (or web) service to call..full body to send back with the HTTP response. Required. | RemainingURL |
IsBinary | Flag to determine if the response body is binary data. If empty then the body content will be examined to make an educated guess. Optional. | |
ContentType | Value to set for the response header Content-Type. Optional | 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.
...