title: Two HTTP Post method with different parameters in one Web API controller
body: <p>I'm trying to implement a Controller with more than one POST method in one controller. I have the following:</p>
  
  <pre><code>public class PatientController : ApiController
  {
      [HttpGet]
      public IEnumerable&lt;Patient&gt; All() { ... }
  
      [HttpGet]
      public Patient ByIndex(int index) { ... }
  
      [HttpPost]
      public HttpResponseMessage Add([FromBody]Patient patient) { ... }
  }
  </code></pre>
  
  <p>And i have a this on my routing:</p>
  
  <pre><code>GlobalConfiguration.Configuration.Routes.MapHttpRoute(
      "API_1",
      "{controller}/{index}",
      new { index = RouteParameter.Optional });
  </code></pre>
  
  <p>Everything works as expected :)</p>
  
  <p>Now, i would like to add the following action:</p>
  
  <pre><code>    [HttpPost, ActionName("save")]
      public void Save(int not_used = -1) { ... }
  </code></pre>
  
  <p>Without adding anything to routing, i get the following error in to Fiddler: Multiple actions were found that match the request.</p>
  
  <p>If i add this to my routing (as a second or first, doesn't matter):</p>
  
  <pre><code>GlobalConfiguration.Configuration.Routes.MapHttpRoute(
      "API_2",
      "{controller}/{action}/{not_used}",
      new { not_used = RouteParameter.Optional },
      new { action = "save|reset" }); // Action must be either save or reset
  </code></pre>
  
  <p>Ill get the same error in to Fiddler.</p>
  
  <p>Is this even possible? Can i have more than one POST, with different (type) parameters, in one controller?</p>