title: Simple controller which takes POST is not found
body: <p>I've made some previous question asking for the help with the problems since I updated MVC4 webapi beta to RC. I got most in order now, but here's one I cannot figure out the reason for yet.</p>
  
  <p>For this simple controller I have one which accepts a POST and one that accepts GET. When I try to run those by sending request from a HTML form, only the GET controller is found while the POST one will return me the following error.</p>
  
  <pre><code>{
    "Message": "No HTTP resource was found that matches the request URI 'http://localhost/webapi/api/play/test'.",
    "MessageDetail": "No action was found on the controller 'Play' that matches the name 'test'."
  }
  </code></pre>
  
  <p>Why is the POST controller not found?</p>
  
  <p><strong>Controllers</strong></p>
  
  <pre><code>public class PlayController : ApiController
  {
      [HttpPost]  // not found
      public string Test(string output)
      {
          return output;
      }
  
      [HttpGet]  // works
      public string Test2(string output)
      {
          return output;
      }
  }
  </code></pre>
  
  <p><strong>HTML form</strong></p>
  
  <pre><code>&lt;form action="http://localhost/webapi/api/play/test" method="post"&gt;
  &lt;input type="text" name="output" /&gt;
  &lt;input type="submit" name="submit" /&gt;
  &lt;/form&gt;
  
  &lt;form action="http://localhost/webapi/api/play/test2" method="get"&gt;
  &lt;input type="text" name="output" /&gt;
  &lt;input type="submit" name="submit" /&gt;
  &lt;/form&gt;
  </code></pre>