title: mvc WebApi Attribute Routing produces a 405
body: <p>I am getting a 405 Method Not Allowed message when adding a WebApi controller to my project.</p>
  
  <p>I have this in my web config;</p>
  
  <pre><code> &lt;remove name="WebDAV" /&gt;
    &lt;remove name="ExtensionlessUrlHandler-Integrated-4.0" /&gt;
    &lt;remove name="OPTIONSVerbHandler" /&gt;
    &lt;remove name="TRACEVerbHandler" /&gt;
    &lt;add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" /&gt;
  </code></pre>
  
  <p>My WebApiConfig is;</p>
  
  <pre><code>    config.MapHttpAttributeRoutes();
  
          config.Routes.MapHttpRoute(
              name: "DefaultApi",
              routeTemplate: "api/{controller}/{id}",
              defaults: new { id = RouteParameter.Optional }
          );
  </code></pre>
  
  <p>and my method is;</p>
  
  <pre><code> public class CustomerQuotationController : ApiController
  {
  
      [Route("api/CustomerQuotation/{id}")]
      [HttpPost]
      public HttpResponseMessage AddQuotation(int id)
      {     
          return new HttpResponseMessage(HttpStatusCode.Created);
      }
  }
  </code></pre>
  
  <p>All the help I can find says that something else is intercepting the method verb. The common culprit is WebDav, but that has been removed. So how do I identify what else could be intercepting the Put or Post calls?</p>
  
  <p>the url I am using is;</p>
  
  <pre><code>http://localhost:2846/api/CustomerQuotation/1
  </code></pre>