50 lines
1.4 KiB
Markdown
50 lines
1.4 KiB
Markdown
XML HTTP Request 3 GET sample
|
|
=============================
|
|
|
|
This sample demonstrates how to use [IXMLHttpRequest3](ixhr3.xml_http_request_3_portal) interface to asynchronously send HTTP GET requests and receive HTTP responses.
|
|
|
|
To get a copy of Windows, go to [Downloads and tools](http://go.microsoft.com/fwlink/p/?linkid=301696).
|
|
|
|
To get a copy of Visual Studio, go to [Visual Studio Downloads](http://go.microsoft.com/fwlink/p/?linkid=301697).
|
|
|
|
Related topics
|
|
--------------
|
|
|
|
[Quickstart: Connecting using XML HTTP Request (IXHR3)](http://msdn.microsoft.com/en-us/library/windows/desktop/)
|
|
|
|
[IXMLHttpRequest3 APIs](ixhr3.xml_http_request_3_portal)
|
|
|
|
Related technologies
|
|
--------------------
|
|
|
|
[Wininet](http://msdn.microsoft.com/en-us/library/windows/desktop/)
|
|
|
|
Operating system requirements
|
|
-----------------------------
|
|
|
|
Client
|
|
|
|
Windows 8.1
|
|
|
|
Server
|
|
|
|
Windows Server 2012 R2
|
|
|
|
Build the sample
|
|
----------------
|
|
|
|
1. Start Visual Studio and select **File** \> **Open** \> **Project/Solution**.
|
|
|
|
2. 2. Go to the directory named for the sample, and double-click the Microsoft Visual Studio Solution (.sln) file.
|
|
|
|
3. Press F6 or use **Build** \> **Build Solution** to build the sample.
|
|
|
|
Run the sample
|
|
--------------
|
|
|
|
To run the sample:
|
|
|
|
1. Navigate to the directory that contains the new executable, using the Command Prompt.
|
|
2. Type **XMLHttpRequest3Get.exe \<url\>** at the command prompt
|
|
|