接收终端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);

版权声明:本文博客原创文章,博客,未经同意,不得转载。

05-08 08:09