title: RESTful API best practices: global vs dedicated endpoints for field updates
body: <p>What is considered best practice when it comes to updating an object attribute in a database through a RESTful API?</p>
  <p>For example, given a <code>User</code> model with <code>firstName</code>, <code>lastName</code> and <code>age</code> attributes, in order to update a user's age, would you rather:</p>
  <ul>
  <li><code>PUT</code> a /api/users/:id/ endpoint with a json with <code>firstName</code>, <code>lastName</code> and <code>age</code> keys, (or even <code>PATCH</code> that endpoint only with the <code>age</code> key) or...</li>
  <li><code>POST</code> a /api/users/:id/age/ endpoint with a json with a single <code>age</code> key?</li>
  </ul>