I\'m using Corona SDK to post data to my C# server:
headers[\"Content-Type\"] = \"application/x-www-form-urlencoded\" headers[\"Accept-Language\"] = \"en-US\" l
For Nancy 2.0.0, Request.Body is a Stream rather than a RequestStream, so doesn't have an AsString method. However, this seems to work:
Request.Body
Stream
RequestStream
AsString
using (var reqStream = RequestStream.FromStream(Request.Body)) { var body = reqStream.AsString(); // ... do stuff with body }