Using the WinHttpRequest COM Object

The WinHTTP API provides support for script programming.