title: REST sub-entities
body: <p>What is the proper, RESTful, URL structure for updating sub-entities?</p>
  
  <p>For instance, I have a Question entity. A Question can have many Answers. Answers are more than just a string, they have a user, pubDate etc.</p>
  
  <p>The URL for creating a Question entity is like so:</p>
  
  <pre><code>/questions/create
  </code></pre>
  
  <p>What would the proper format be for creating an answer to a specific question? Maybe something like:</p>
  
  <pre><code>/questions/{questionId}/answers/create
  </code></pre>
  
  <p>Or should they have their own dedicated route, like:</p>
  
  <pre><code>/answers/create?questionId={questionId}
  </code></pre>
  
  <p>Thanks for any help you guys can provide!</p>