Sets the body content to be returned in the response.
Syntax
Response = HTTP_Services('SetResponseBody', Body, IsBinary, ContentType)
Returns
N/A
Parameters
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
This is the service that will most likely be used by web service routines to identify the content that should be returned.