title: REST Best Practices: Should you return an entity on POST and PUT calls?
body: <p>In order to respect the best practices of the REST principles, is it best to return the created/updated entity upon a POST/PUT ?  Or return an empty HTTP body with the Location header?</p>
  
  <p>More precisely, when a resource is created by a POST, should we return:</p>
  
  <blockquote>
    <ul>
    <li>Status 201 + Location header + (the created entity in the HTTP body)</li>
    </ul>
    
    <p>OR</p>
    
    <ul>
    <li>Status 201 + Location header + (empty body)</li>
    </ul>
  </blockquote>
  
  <p>When a resource is updated by a PUT, should we return:</p>
  
  <blockquote>
    <ul>
    <li>Status 200 + (the updated entity in the HTTP body)</li>
    </ul>
    
    <p>OR</p>
    
    <ul>
    <li>Status 204 (empty body)</li>
    </ul>
  </blockquote>