Sets the body content to be returned in the response.

Syntax

Response = HTTP_Services('SetResponseBody', Body, IsBinary, ContentType)

Returns

N/A

Parameters

ParameterDescription
BodyThe full body to send back with the HTTP response. Required.
IsBinaryFlag to determine if the response body is binary data. If empty then the body content will be examined to make an educated guess. Optional.
ContentTypeValue 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.

  • No labels