This is a sample HTML page that we threw together
to illustrate doing an http request via ASP.
This file was served at: 7/25/2008 4:26:49 AM (Webserver Time)
Here's The Code:
<html>
<head>
<title>ASP 101 Http Request Sample Page</title>
</head>
<body>
<h1>ASP 101 Http Request Sample Page</h1>
<p>
This is a sample HTML page that we threw together
to illustrate doing an http request via ASP.
</p>
<p>
This file was served at: 7/25/2008 4:26:49 AM (Webserver Time)
</p>
</body>
</html>
For general info about this sample and related questions
(including an ASP.NET version) you should see our
original HTTP sample.
This sample walks you through making an HTTP request
using WinHttp 5.0 which ships with MSXML 4.0. This
version doesn't require you to go through the MS-XML
ServerXMLHTTP object and lets you access WinHTTP directly.
If you're trying to decide between the two components, I'd choose
this method unless you have a specific reason for using the MS-XML 3
based components illustrated in our original HTTP sample.
One last note... this is only for the server-side platforms - NT/2000/XP
(works on 2000 & XP Pro too). WinHTTP isn't supported on 95/98/ME.