Share via


IXMLHTTPRequest

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Provides client-side protocol support for communication with HTTP servers.

Remarks

A client computer can use the XMLHTTP object, MSXML2.XMLHTTP, to send an arbitrary HTTP request, receive the response, and have the Microsoft® XML Document Object Model (DOM) parse that response.

This object is integrated with the Microsoft XML Parser (MSXML) to support sending the request body directly from and parsing the response directly into the MSXML DOM objects. When combined with the support for Extensible Stylesheet Language (XSL), the XMLHTTP component provides an easy way to send structured queries to HTTP servers and efficiently display the results with a variety of presentations.

The usual sequence is to call open, set any custom header information through setRequestHeader, followed by send, and then to check one of the four different response properties.

This interface inherits from IDispatch.

Note

IXMLHTTPRequest does not support secure web site access. To access a secure web site, use the Windows Internet Services (WinInet) API.

Setting Version-independent Version-dependent

ProgID

Msxml2.XMLHTTP

Msxml2.XMLHTTP.3.0

CLSID

F6D90F16-9C73-11D3-B32E-00C04F990BB4

f5078f35-c551-11d3-89b9-0000f81fe221

See Also

Reference

IXMLHTTPRequest Members
DOMDocument