title: WebApi HttpPost not working with parameters
body: <p>I have a Web Api project with this route config</p>
  
  <pre><code>    var config = GlobalConfiguration.Configuration;
      config.Routes.MapHttpRoute(
          "DefaultApiRoute",
          "api/v1/{controller}/{action}");
  </code></pre>
  
  <p>I have two post method</p>
  
  <pre><code>[HttpPost]
  public IHttpActionResult RetrieveTestNoParam()
  {
      return new JsonResult&lt;string&gt;("This is a test", new JsonSerializerSettings(), Encoding.UTF8, this);
  }
  
  
  [HttpPost]
  public IHttpActionResult RetrieveTest(string input)
  {
      return new JsonResult&lt;string&gt;(input, new JsonSerializerSettings(), Encoding.UTF8, this);
  }
  </code></pre>
  
  <p>The first one is working but the second one gives this respone</p>
  
  <pre><code>{
    "Message": "No HTTP resource was found that matches the request URI 'http://test.dev.local/api/v1/NewsApi/RetrieveTest'.",
    "MessageDetail": "No action was found on the controller 'NewsApiController' that matches the request."
  }
  </code></pre>
  
  <p>This is what I see in fiddler</p>
  
  <pre><code>POST http://test.dev.local/api/v1/NewsApi/RetrieveTest HTTP/1.1
  Host: test.dev.local
  Connection: keep-alive
  Content-Length: 261
  Cache-Control: no-cache
  Origin: chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop
  Content-Type: application/javascript
  User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36
  Postman-Token: c2ba631b-4bfd-9379-bf40-0ca1a6a8a3bc
  Accept: */*
  DNT: 1
  Accept-Encoding: gzip, deflate
  Accept-Language: en-US,en;q=0.8,nl;q=0.6
  Cookie: ASP.NET_SessionId=4kgfwd2u3pwusfdvdsrkt2vt; SC_ANALYTICS_GLOBAL_COOKIE=ddd9185a3e8940c9823e81b7d38cdf20|False; sc_expview=0
  
  ------WebKitFormBoundaryxdYhzJ7A8WnI8qaa
  Content-Disposition: form-data; name="input"
  
  Dit is de input
  ------WebKitFormBoundaryxdYhzJ7A8WnI8qaa
  Content-Disposition: form-data; name="czczcsdcsdf"
  
  sdfsfsdfsdff
  ------WebKitFormBoundaryxdYhzJ7A8WnI8qaa--
  </code></pre>
  
  <p>Any ideas?</p>
  
  <p>Other questions I have about Web Api:</p>
  
  <p>Can a controller contain multiple get or post methods?
  Do I need the actionname attribute and what does this attribute do?</p>
  
  <p>Regards
  Danny</p>