E
E
Emil Revencu2015-07-11 10:40:22
ASP.NET
Emil Revencu, 2015-07-11 10:40:22

Createobject("MSXML2.ServerXMLHTTP.6.0"). Why does the "POST" request change to "GET"?

I have code:

set http = Createobject("MSXML2.ServerXMLHTTP.6.0")
url="https://www.appliancesconnection.com/login.html"
login_name="XXXXXX"
login_pass="XXXXXX"
query="email="+login_name+"&password="+password_pass
http.Open "POST",url,false
http.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
http.send(query)
text=http.responsetext

After checking the request, I find out that the request did not leave as "POST", but was processed as "GET", of course, login is not carried out. What is the reason?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question