title: How do I enable PUT requests in Azure?
body: <p>I'm building a REST API on Azure, but when I try to access an endpoint via the PUT method I get a <code>HTTP 405 "Method Not Allowed"</code> status along with an IIS error message: </p>
  
  <blockquote>
    <p>The page you are looking for cannot be displayed because an invalid
    method (HTTP verb) is being used.</p>
  </blockquote>
  
  <p><strong>How do I enable the PUT method, and other methods that may be blocked by default by Azure's default config settings?</strong></p>
  
  <p>I tried adding a web.config file to the root of my application with allowUnlisted set to true on the verbs element:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;configuration&gt;
     &lt;system.webServer&gt;
        &lt;security&gt;
           &lt;requestFiltering&gt;
              &lt;verbs applyToWebDAV="false" allowUnlisted="true" /&gt;
           &lt;/requestFiltering&gt;
        &lt;/security&gt;
     &lt;/system.webServer&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>This changed nothing.</p>
  
  <p>I'm an open source guy, so the world of IIS is very unfamiliar to me. Any help is appreciated.</p>
  
  <p>Thanks!</p>