I want to post to a website that requires authentication, and am having
problems getting started.
I found the following code:
================================================== =
Response.Buffer = True
Dim objXMLHTTP, xml
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", "http://www.4Guysfromrolla.com/", False, _
"Richard", "Welcome"
' Actually Sends the request and returns the data:
xml.Send
Response.Write xml.responseText
Set xml = Nothing
================================================== ===
But it gives the error: Runtime error '424' object required, at these lines:
Response.Buffer = True
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
I've added Microsoft XML v6.0 to the references.
Any help or general advice in accomplishing this would be gratefully
received.
Cheers
Allan