接收端通过Request.InputStream读取流

byte[] byts = new byte[HttpContext.Current.Request.InputStream.Length];

                HttpContext.Current.Request.InputStream.Read(byts, 0, byts.Length);
                string req = System.Text.Encoding.Default.GetString(byts);
                req = HttpContext.Current.Server.UrlDecode(req);

猜你喜欢

转载自www.cnblogs.com/zoujinhua/p/11325100.html
今日推荐