title: REST - Query string vs. URL path
body: <p>I am working on a Web Api application and I am currently struggling with my understanding of RESTful API Design.</p>
  
  <p>Let's say there is a Post resource <code>/api/posts</code> and I want the clients give the opportunity to request all Posts for the current month.
  From my understanding there are 2 ways to achieve this.</p>
  
  <p>One way could be to make the current month as a resource.
  The other way could be a query string for the Post resource.</p>
  
  <p>What is the best (RESTful) way to do this?</p>
  
  <p><code>api/posts/currentmonth</code></p>
  
  <p>or</p>
  
  <p><code>api/posts?stardate=???&amp;enddate=???</code></p>