title: Post parameter in path or in body
body: <p>I am creating Rest API but I am confused in URL structure. I have to send just one parameter to server in my Post request. should I send it through path variable or in request body? what are the best practices?</p>
  
  <p>Example Current URL:</p>
  
  <pre><code>api/v1/users/{id}/name/{name}
  </code></pre>
  
  <p><code>name</code> is the variable I want to send to server for to change state</p>
  
  <p>Thanks</p>