R
RK
I am getting the "HTTP /1.1 405 - method not allowed" error when I am
sending XML string over Msxml2.XMLHTTP object. I am sending data in
POST, also passing querystring variable and here is the code. Also
error comes only sometimes.
var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
xmlhttp.Open("POST", "test.aspx?qsVar="+qsVar, false);
xmlhttp.setRequestHeader("Content-Type",
"application/x-www-form-urlencoded");
xmlhttp.Send(xmldoc);
any help will be appreciated.
RK
sending XML string over Msxml2.XMLHTTP object. I am sending data in
POST, also passing querystring variable and here is the code. Also
error comes only sometimes.
var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
xmlhttp.Open("POST", "test.aspx?qsVar="+qsVar, false);
xmlhttp.setRequestHeader("Content-Type",
"application/x-www-form-urlencoded");
xmlhttp.Send(xmldoc);
any help will be appreciated.
RK