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
I have tried to change http://api.test.com to http://myuser:email@example.com but this does not work, however when I put http://myuser:firstname.lastname@example.org in Google Chrome this does work but not when put in IE.
Set objXML = Server.CreateObject("Microsoft.XMLDOM")
objXML.Async = False
objXML.SetProperty "ServerHTTPRequest", True objXML.ResolveExternals = True
objXML.ValidateOnParse = True
Is there a setting similar to SetProperty where I can add the authentication details?