title: .netcore PUT method 405 Method Not Allowed
body: <p>I have a simple model as that has 2 fields and with the following put method, i'm tring to update it in the db. Everymethod including delete works, however put method always returns a 405 error in Postman. (tried WebDAV solutions as well.) What am I missing here?</p>
  
  <p><a href="https://i.stack.imgur.com/d6161.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/d6161.png" alt="enter image description here"></a></p>
  
  <p>PUT METHOD:</p>
  
  <pre><code>{
      "MasterId":1,
      "MasterName":"Test"
  }
  </code></pre>
  
  <p>Action</p>
  
  <pre><code>[HttpPut("{id:int}")]
  public async Task&lt;IActionResult&gt; PutMaster(int id, Master master)
  {
      if (id != master.MasterId)
      {
          return BadRequest();
      }
  
      //...some code
      return NoContent();
  }
  </code></pre>