By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,827 Members | 2,277 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,827 IT Pros & Developers. It's quick & easy.

POST to website with authentication

P: n/a
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
Jan 6 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.