title: RESTfully Fetching by Attribute
body: <p>Which of the following URLs is more RESTful <em>compliant</em> when it comes to fetch only <code>items</code> that have a certain value for <code>attribute</code>?</p>
  
  <ol>
  <li><p><code>GET: /items/attribute/{value}</code></p></li>
  <li><p><code>GET: /items/findByAttribute?attribute={value}</code></p></li>
  <li><p><code>GET: /items?attribute={value}</code></p></li>
  </ol>
  
  <p>Having in mind that <code>GET: /items</code> returns all items.</p>
  
  <hr>
  
  <p><strong>Example</strong></p>
  
  <ol>
  <li><p><code>GET: /shirts/color/FF9900</code></p></li>
  <li><p><code>GET: /shirts/findByColor?color=FF9900</code></p></li>
  <li><p><code>GET: /shirts?color=FF9900</code></p></li>
  </ol>