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("P OST", "test.aspx?qsVa r="+qsVar, false);
xmlhttp.setRequ estHeader("Cont ent-Type",
"applicatio n/x-www-form-urlencoded");
xmlhttp.Send(xm ldoc);
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("P OST", "test.aspx?qsVa r="+qsVar, false);
xmlhttp.setRequ estHeader("Cont ent-Type",
"applicatio n/x-www-form-urlencoded");
xmlhttp.Send(xm ldoc);
any help will be appreciated.
RK
Comment