WebRequest req=WebRequest.Create("http://192.168.1.1/rv.aspx");
req.Method="POST";
req.ContentType="application/x-www-form-urlencoded";
byte[] bt=null;
bt=Encoding.GetEncoding("gb2312").GetBytes("<?xml version='1.0' encoding='GB2312'?><webmon version='1.0'></webmon>");rv.aspx如何接收post过来的数据?XML是固定死的,前面不能加任何参数?
req.Method="POST";
req.ContentType="application/x-www-form-urlencoded";
byte[] bt=null;
bt=Encoding.GetEncoding("gb2312").GetBytes("<?xml version='1.0' encoding='GB2312'?><webmon version='1.0'></webmon>");rv.aspx如何接收post过来的数据?XML是固定死的,前面不能加任何参数?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货