HTTP_BODY function [HTTP]

Returns the body of the HTTP request in binary form. For example, in a POST request, this is the raw POST data.

Syntax
HTTP_BODY( )
Parameters

None

Returns

LONG VARCHAR

The HTTP request is returned in binary form; no character set conversion is performed on it.

Remarks

If the request body does not exist, or if the function is not called from a web service, a NULL value is returned.

See also
Standards and compatibility
  • SQL/2003   Vendor extension.

Example

For more information about HTTP requests and web services, see SQL Anywhere web services.