We have a Web API that has an action that returns BadRequest() which is a 400.
the call to the API looks like this:
$.post("/api/controller/action", {test:"Bad data"}).success(function(data){
console.log(data)
});
the API Controller Action method returns an IHTTPActionResult of BadRequest("Invalid data recieved"); The Chrome inspector verifies the return was a 400, Fiddler verifys 400, but jQuery runs its success method and console.log(data); shows us that data.status = 240.
I do not think its just jQuery, because AngularJS's $http service does the exact same thing.