Post with xmlhttp ( ASP ) - error response: No input XML data

unseen

New Member
please look at this code:\[code\]<form id='myform' name='myform' action='http://www.xxx.xom' method='post' accept-charset='UTF-8'><input type='input' name='xmlData' value='http://stackoverflow.com/questions/12799444/<?xml version="1.0"?><order_zip>23222</order_zip><shipping_id>15</shipping_id><products><product> <product_id>230</product_id> <quantity>40</quantity></product></products>'></form>\[/code\]when i sent the form data - i got response as: OK.However i need to do it in the backend (background).So my code is:\[code\]set xmlhttp = server.createobject("MSXML2.XMLHTTP")xmlhttp.Open "POST",URL,Falsexmlhttp.SetRequestHeader "Content-Type","text/xml;charset=UTF-8"xmlhttp.Send xmlstringResponse.write(xmlhttp.response.text)\[/code\]This time i'm getting error response: No input XML dataThe tech guy know only php no asp - so he does not know what i need to change in my code.I just need the form above to make on background/bakend - so i will be happy to get the right code.Thank you
 
Back
Top