title: Play Framework 2.0 - Restful URL Naming Conventions
body: <p>I wanted to throw this question out there and get some feedback from other users of the Play Framework (specifically Play 2.0).</p>
  
  <p>Lets say I have an entity called 'FooBar'.  Let's also assume that I'm providing a Restful API that allows CRUD operations at the URL <code>'http://&lt;host&gt;/api/foo_bar'</code>.</p>
  
  <p>My question is, is there a consensus amongst the community on how to name URLs, where the URL provides access to an entity whose name contains more than one word?</p>
  
  <p>I can think of the following 4 options for naming such a URL, that would each seem reasonable:</p>
  
  <ol>
  <li>snake case (which would be the rails convention) -- http:///api/foo_bar</li>
  <li>camel case -- <code>http://&lt;host&gt;/api/fooBar</code></li>
  <li>pascal case -- <code>http://&lt;host&gt;/api/FooBar</code></li>
  <li>just eliminating underscores (is there a name for this?) -- <code>http://&lt;host&gt;/api/foobar</code></li>
  </ol>
  
  <p>Thanks in advance for the feedback!</p>