title: Nancy (C#): How do I get my post data?
body: <p>I'm using Corona SDK to post data to my C# server:</p>
  
  <pre><code>headers["Content-Type"] = "application/x-www-form-urlencoded"
  headers["Accept-Language"] = "en-US"
  
  local body = "color=red&amp;size=small"
  
  local params = {}
  params.headers = headers
  params.body = body
  
  network.request( host .. "/UpdateHand", "POST", nwListener, params )
  </code></pre>
  
  <p>I receive a message on the server:</p>
  
  <pre><code>  Post["/UpdateHand"] = x =&gt;
          {
              Console.WriteLine("Received ...");
              return "Ok";
          };
  </code></pre>
  
  <p>But when I check the data (when I put a breakpoint on it) I don't see where my data is locaded (i.e. the params.body or params.headers). How can I extract this information?</p>
  
  <p>I should POST it correctly according to the documentation on Corona: <a href="http://docs.coronalabs.com/daily/api/library/network/request.html">http://docs.coronalabs.com/daily/api/library/network/request.html</a></p>