title: REST API Best practices: args in query string vs in request body
body: <p>A REST API can have arguments in several places:</p>
  
  <ol>
  <li><strong>In the request body</strong> - As part of a json body, or other MIME type</li>
  <li><strong>In the <a href="https://en.wikipedia.org/wiki/Query_string" rel="noreferrer">query string</a></strong> - e.g. <code>/api/resource?p1=v1&amp;p2=v2</code></li>
  <li><strong>As part of the URL-path</strong> - e.g. <code>/api/resource/v1/v2</code></li>
  </ol>
  
  <p><strong>What are the best practices and considerations of choosing between 1 and 2 above?</strong><br>
  2 vs 3 is covered <a href="https://stackoverflow.com/questions/4024271/rest-api-best-practices-where-to-put-parameters">here</a>.</p>