2025-11-28 00:35:46 +09:00

1.4 KiB

XML HTTP Request 3 GET sample

This sample demonstrates how to use IXMLHttpRequest3 interface to asynchronously send HTTP GET requests and receive HTTP responses.

To get a copy of Windows, go to Downloads and tools.

To get a copy of Visual Studio, go to Visual Studio Downloads.

Quickstart: Connecting using XML HTTP Request (IXHR3)

IXMLHttpRequest3 APIs

Wininet

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.

    1. Go to the directory named for the sample, and double-click the Microsoft Visual Studio Solution (.sln) file.
  2. 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