title: jQuery AJAX call to Web API returns Status 240 when the API Controller Action returns BadRequest()
body: <p>We have a Web API that has an action that returns BadRequest() which is a 400.</p>
  
  <p>the call to the API looks like this:</p>
  
  <pre><code>$.post("/api/controller/action", {test:"Bad data"}).success(function(data){
  
      console.log(data)
  
  });
  </code></pre>
  
  <p>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.</p>
  
  <p>I do not think its just jQuery, because AngularJS's $http service does the exact same thing.</p>