var data = ""; using (StreamReader readStream = new StreamReader(context.Request.InputStream, Encoding.UTF8)) { data = readStream.ReadToEnd(); }