if (context.Request.HttpMethod == "POST")
{
Stream RequestStream = context.Request.InputStream;
byte[] PostData = new byte[context.Request.InputStream.Length];
RequestStream.Read(PostData, 0, (int)context.Request.InputStream.Length);
System.Text.ASCIIEncoding dummy = new System.Text.ASCIIEncoding();
strData = dummy.GetString(PostData);
}
|