title: How do you structure a restful route with several GET constraints?
body: <p>Suppose you are working on an API, and you want nice URLs. For example, you want to provide the ability to query articles based on author, perhaps with sorting.</p>
  
  <p>Standard:</p>
  
  <pre><code>GET http://example.com/articles.php?author=5&amp;sort=desc
  </code></pre>
  
  <p>I imagine a RESTful way of doing this might be:</p>
  
  <pre><code>GET http://example.com/articles/all/author/5/sort/desc
  </code></pre>
  
  <p>Am I correct? Or have I got this REST thing all wrong?</p>