title: How to fix - The requested resource does not support http method 'POST'
body: <p>Below is WebAPI action. On googling about the below error:-</p>
  
  <blockquote>
    <p>The requested resource does not support http method 'POST'</p>
  </blockquote>
  
  <p>I got number of links  &amp; updated my api accordingly but still I am getting the same error.</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/21494784/web-api-not-supporting-post-method">Web api not supporting POST method</a></li>
  <li><p><a href="https://stackoverflow.com/questions/11005788/asp-net-web-api-the-requested-resource-does-not-support-http-method-get">ASP.NET Web Api: The requested resource does not support http method &#39;GET&#39;</a></p>
  
  <pre><code>[AcceptVerbs("POST")]
  [HttpPost]
  [Route("rename/{userId}/{type}/{title}/")]
  public IHttpActionResult Rename([FromBody] int userId,  [FromBody] string type, [FromBody] string title)
  {
  
      //my api stuff
  }
  </code></pre></li>
  </ul>
  
  <p>But still when calling the above via post man throws the error.</p>
  
  <p><a href="https://i.stack.imgur.com/ZfWab.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ZfWab.png" alt="Error"></a></p>
  
  <p>How do I get rid of this error??</p>
  
  <p>Also is it possible to fix this without using <code>[FromBody]</code> attribute in the method parameters list?</p>
  
  <p>Any help/suggestion highly appreciated.
  Thanks.</p>