I have a live server and development server.
The development server supports Server.CreateObject("WinHTTP.WinHTTPRequest.5.1") but the live server supports Server.CreateObject("Microsoft.XMLDOM").
I need to pass a username and password with my xml request and can do this using setCredentials on my development server.
Can anybody point me in the direction to get this working on the live server. The code I am using is
Code:
Set objXML = Server.CreateObject("Microsoft.XMLDOM")
objXML.Async = False
objXML.SetProperty "ServerHTTPRequest", True objXML.ResolveExternals = True
objXML.ValidateOnParse = True
objXML.Load("http://api.test.com')
I have tried to change http://api.test.com to http://myuser:mypass@api.test.com but this does not work, however when I put http://myuser:mypass@api.test.com in Google Chrome this does work but not when put in IE.

Is there a setting similar to SetProperty where I can add the authentication details?