title: How to pass parameter using Ext.Ajax.request when method type is DELETE
body: <p>I am trying to send use <code>Ext.Ajax.request</code> method to delete some data on server. My request method looks as below : </p>
  
  <pre><code>Ext.Ajax.request({
        url: '/myserver/restful/service/delete',
        method: 'DELETE',
        headers: {
          'Content-Type': 'application/json'
        },
        params: {
          userId: 12345
        }
  });
  </code></pre>
  
  <p>On my jersey server I have written which looks like as below :</p>
  
  <pre><code>@Path("/delete")
    @DELETE
    @Consumes(MediaType.APPLICATION_JSON)
    @Produces(MediaType.APPLICATION_JSON)
    public Response deleteUser(final String userId) {
      System.out.println("user id = " + userId);
      return Response.ok().entity("success").build();
    }
  </code></pre>
  
  <p>This method prints out user id in following format :</p>
  
  <p><code>user id = userId=12345</code></p>
  
  <p>So my expected value for <code>userId</code> is <code>12345</code> but it is giving me <code>userId=12345</code>. As I am newbie to jersey thing, I am not able to decide what to do now.</p>
  
  <p>Can anyone please tell what is going wrong?</p>