//接收POST过来的数据
System.IO.Stream s = Request.InputStream;
int count = 0;
byte[] buffer = new byte[1024];
StringBuilder builder = new StringBuilder();
while ((count = s.Read(buffer, 0, 1024)) > 0)
{
builder.Append(Encoding.UTF8.GetString(buffer, 0, count));
}
s.Flush();
s.Close();
s.Dispose();

  这年纪了容易忘是 记一下

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-18
  • 2021-09-14
  • 2021-09-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-16
  • 2022-12-23
  • 2022-01-01
  • 2021-11-20
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案