title: Unable to get request data in asp.net web forms
body: <p>in asp.net pageload method I am trying to get request data using</p>
  
  <pre><code>Request.Form["keyname"]
  Request.Query
  </code></pre>
  
  <p>but all are empty but when I run fiddler in inspector>>raw I am getting this </p>
  
  <pre><code>POST http://localhost:50844/Success.aspx HTTP/1.1
  Host: localhost:50844
  Connection: keep-alive
  Content-Length: 15583
  Cache-Control: max-age=0
  Upgrade-Insecure-Requests: 1
  Origin: null
  Content-Type: application/x-www-form-urlencoded
  User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36
  Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
  Accept-Encoding: gzip, deflate, br
  Accept-Language: en-US,en;q=0.9
  Cookie: ASP.NET_SessionId=ax0e4j1ucaghsarowzmvgoep
  
  valuestr=abc&amp;randomnum=99389
  </code></pre>
  
  <p>I need to get values of valuestr and randomnum,how can I do this </p>