title: http delete with REST
body: <p>I am currently using Jersey Framework (JAX-RS implementation) for building RESTful Web Services. The Resource classes in the project have implemented the standard HTTP operations - GET,POST &amp; DELETE. I am trying to figure out how to send request parameters from client to these methods.</p>
  
  <p>For GET it would be in the query string(extract using <code>@QueryParam</code>) and POST would be name/value pair list (extract using <code>@FormParam</code>) sent in with the request body. I tested them using HTTPClient and worked fine. For DELETE operation, I am not finding any conclusive answers on the parameter type/format. Does DELETE operation receive parameters in the query string(extract using <code>@QueryParam</code>) or in the body(extract using <code>@FormParam</code>)?</p>
  
  <p>In most DELETE examples on the web, I observe the use of <code>@PathParam</code> annotation for parameter extraction(this would be from the query string again). </p>
  
  <p>Is this the correct way of passing parameters to the DELETE method? I just want to be careful here so that I am not violating any REST principles. </p>