title: REST URL design - multiple resources in one HTTP call
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/6413077/rails-3-custom-route-that-takes-multiple-ids-as-a-parameter">Rails 3 Custom Route that takes multiple ids as a parameter</a>  </p>
  </blockquote>
  
  
  
  <p>From what I understand, a good REST URL for getting a resource would look like this:</p>
  
  <pre><code>/resource/{id}
  </code></pre>
  
  <p>The problem I have is, that I often need to get a <strong>large number</strong> of resources at the <strong>same time</strong> and do not want to make a <strong>separate HTTP call</strong> for each one of them.</p>
  
  <p>Is there a neat URL design that would cater for that or is this just not suitable for a REST API?</p>