标签:str read put 请求 stream 字符 puts post get
Stream s = Request.InputStream;
int count = 0;
byte[] buffer = new byte[1024];
StringBuilder reqXml = new StringBuilder();
while ((count = s.Read(buffer, 0, 1024)) > 0)
{
reqXml.Append(Encoding.UTF8.GetString(buffer, 0, count));
}
s.Flush();
s.Close();
s.Dispose();
标签:str read put 请求 stream 字符 puts post get
原文地址:https://www.cnblogs.com/yxyl/p/9992806.html