POST XML file with XMLHTTP components

xiaoxiao2021-03-06  37

StreamReader sr = new StreamReader (Server.MapPath (strPathFull)); MSXML2.XMLHTTPClass xmlHttp = new MSXML2.XMLHTTPClass (); xmlHttp.open ( "post", strURL, false, "", ""); xmlHttp.setRequestHeader ( " Content-type "," text / xml; charset = utf-8 "); XMLHTTP.SEND (Sr.ReadToend ()); // Get response string backxmlstring = xmlhttp.responsetext.toString ();

转载请注明原文地址:https://www.9cbs.com/read-61816.html

New Post(0)