title: RESTful url for printing a resource
body: <p>I have a Stock resource which is obviously an item of stock and it can be accessed by..</p>
  
  <pre><code>[Get] /stock/{stockId}
  </code></pre>
  
  <p>And I have a printer resource which is a network printer somewhere and it can be accessed by..</p>
  
  <pre><code>[Get] /printer/{printerId}
  </code></pre>
  
  <p>And I have a Template which points to a template file on the server</p>
  
  <pre><code>[Get] template/{templateId}
  </code></pre>
  
  <p>Now what I want to do is be able to send a request to a printer to print a certain stock item using a certain template.</p>
  
  <p>My first thought would be</p>
  
  <pre><code>/printer/{printerId}/printstock?stockId=1&amp;templateId=1
  </code></pre>
  
  <p>So my questions are -</p>
  
  <p>When it finishes printing it will update the stock item to say it has been printed does this mean it should be a POST (or should it be a PUT?)</p>
  
  <p>Are actions such as the "printstock" in the URL the correct way to go about this? </p>
  
  <p>Should Stock be part of the main Url rather than in the querystring?</p>