title: How to load webview with post parameters in windows 8?
body: <p>I need to load website using webview in metro apps. I could post login parameters using following method. how to load the same in webview??????</p>
  
  <pre><code>      string post_data = "userName=test123&amp;password=test@321";
  
          // this is where we will send it
          string uri = "http://tesproject.com";
  
          // create a request
          HttpWebRequest request = (HttpWebRequest)WebRequest.Create(uri);
          request.Method = "POST";
  
          // turn our request string into a byte stream
          byte[] postBytes = Encoding.UTF8.GetBytes(post_data);
  
          // this is important - make sure you specify type this way
          request.ContentType = "application/x-www-form-urlencoded";
          Stream requestStream = await request.GetRequestStreamAsync();
  
          // now send it
          requestStream.Write(postBytes, 0, postBytes.Length);
  
          // grab te response and print it out to the console along with the status code
          WebResponse response = await request.GetResponseAsync();
  </code></pre>