Share via

responseBody Property (ServerXMLHTTPRequest-IServerXMLHTTPRequest)


Represents the response entity body as an array of unsigned bytes, namely a SAFEARRAY of type VT_ARRAY | VT_UI1. This contains the raw undecoded bytes as received directly from the server. Depending on what the server sent, this can appear as binary-encoded data (UTF-8, UCS-2, UCS-4, Shift_JIS, and so on).

Script Syntax

strValue = oServerXMLHTTPRequest.responseBody;  

Visual Basic Syntax

strValue = oServerXMLHTTPRequest.responseBody  

C/C++ Syntax

HRESULT get_responseBody(VARIANT* pvarVal);  


pvarVal [out, retval]
The response entity body as an array of unsigned bytes.

C/C++ Return Values

The value returned if successful.

The value returned if the data is unavailable.


This property represents only one of several forms in which the HTTP response can be returned.


Implemented in:

MSXML 3.0, MSXML 6.0

Applies to


See Also

responseStream Property (ServerXMLHTTP-IServerXMLHTTPRequest)
responseText Property (ServerXMLHTTP-IServerXMLHTTPRequest)
responseXML Property (ServerXMLHTTP-IServerXMLHTTPRequest)