com - How can I retrieve 3rd & 4th Parameter of MSXML2.ServerXMLHTTP' Open method? -


i using following code:

 set objxmlhttp = createobject("msxml2.serverxmlhttp")  objxmlhttp.open "post", url + "/" + method, false,uid,password  objxmlhttp.send ' not sending custom parameters  wscript.sleep 500  loop  msgbox objxmlhttp.responsetext  

is there way retrieve uid , password sent inside url (i have got code web service)?

ps: information seek not in httprequest.current.request.headers.

afaik need set header content-type: application/x-www-form-urlencoded post request, try changing code this:

set objxmlhttp = createobject("msxml2.serverxmlhttp") objxmlhttp.open "post", url + "/" + method, false, uid, password objxmlhttp.setrequestheader "content-type", "application/x-www-form-urlencoded" objxmlhttp.send 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -