有的机器存在获取不到数据的情况 HttpContext.Current.Request.InputStream.Position = 0; string data = string.Empty; using (StreamReader reader = new StreamReader(HttpContext.Current.Request.InputStream, Encoding.UTF8)) { data = reader.ReadToEnd(); }
系统设置的原因