Reading FromUri and FromBody at the same time

A post body is typically a URI string like this: Message=foobar&TestingMode=true You have to make sure that the HTTP header contains Content-Type: application/x-www-form-urlencoded EDIT: Because it’s still not working, I created a full example myself. It prints the correct data. I also used .NET 4.5 RC. // server-side public class ValuesController : ApiController { [HttpPost] … Read more