Page History
...
Parameter | Description |
---|---|
Body | The full body to send back with the HTTP response. Required. |
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. |
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 routineThis is the service that will most likely be used by web service routines to identify the content that should be returned.