Gurus,
I am using VBS scripting within a CRM product. I am using something like below to get a response from the server:
Set objWinHttp = CreateObject("WinHttp.WinHttpRequest.5.1")
..blah..
objWinHttp.Open "GET", myPBX_IPAddress
..blah..
objWinHttp.Send (myXML)
..blah..
GetDataFromURL = objWinHttp.ResponseText
..blah..
Do something with Response.... blah....
I get a response back from the request, but it's a web page that is requesting that I log in. The problem with this is that this is in VBS app and does not really have a web interface exposed where I can present the web page to the user. I tried to open IE outside my application and logging in because I saw it drops cookies, but still get the same login-request from my call above.
So the simple noobie question I am asking is: "Is there a xml request or something that I can pass to login with the appropriate credentials" without bringing up a login web page?
XML I am passing in my initial request is something like this:
<request method="switchvox.call"><parameters> <dial_first>4040</dial_first> <dial_second>14803175484</dial_second> <dial_as_account_id>4044</dial_as_account_id> <caller_id_name>Autodialer</caller_id_name> <ignore_user_api_settings>1</ignore_user_api_settings> </parameters> </request>
