Public field not bound when posting to WebAPI (or a deep dive into WebAPI model binding)
When trying to create a sandbox project using WebAPI (on MVC4), I was struggling with a weird problem: My data wasn’t being received in the server. I had the following jQuery call $.post(“api/Values”, {value1:1, value2:2}, function(result){ […]