title: How to read HTTP POST Request Message Parameters in c#
body: <p>I am able to read the url and entire page but not able to read the HTTP POST  Request Message Parameters  in c#.
  In my situation i am posting a post url to a site  after they verify they send me a HTTP Post message with parameters like id.</p>
  
  <p>here is my code in c#</p>
  
  <pre><code>HttpWebRequest request1 = (HttpWebRequest)WebRequest.Create(uri);
  
  postsourcedata = "processing=true&amp;Sal=5000000";
  
  request1.Method = "POST";
  request1.ContentType = "application/x-www-form-urlencoded";
  request1.ContentLength = postsourcedata.Length;
  request1.UserAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)";
  Stream writeStream1 = request1.GetRequestStream();
  UTF8Encoding encoding1 = new UTF8Encoding();
  byte[] bytes1 = encoding1.GetBytes(postsourcedata);
  writeStream1.Write(bytes1, 0, bytes1.Length);
  writeStream1.Close(); 
  HttpWebResponse response =   (HttpWebResponse)request.GetResponse();
  Stream responseStream = response.GetResponseStream();
  StreamReader readStream = new StreamReader(responseStream, Encoding.UTF8);
  string page = readStream.ReadToEnd();
  //page.Close();
  return page.ToString();
  </code></pre>
  
  <p>They are sending me request parameters like id and text , how to read these parameters on my side.I am posting to the website through a web service.</p>
  
  <p>Can anyone help me with this?</p>