title: HTTP DELETE using jQuery ajax with parameters in query string
body: <p>I want to send a HTTP DELETE like this:</p>
  
  <pre><code>$.ajax({
      url: "http://localhost/myapp",
      type: "DELETE",
      data: {
          "brown": "fox",
          "lazy": "dog"
      }
  });
  </code></pre>
  
  <p>The problem is jquery puts the data into the body of the request. I want the data to be put in query string, like <code>http://localhost/myapp?brown=fox&amp;lazy=dog</code>.</p>
  
  <p>Is there an option in $.ajax to do that? Or do I have to manually construct the query string?</p>
  
  <p>jQuery 1.10.2.</p>
  
  <p>UPDATE:</p>
  
  <p>Context for my question:</p>
  
  <ul>
  <li>I know how to use jQuery's <code>$.ajax</code></li>
  <li>I know how to send HTTP DELETE request</li>
  <li>jQuery's <code>$.ajax</code> CAN send HTTP DELETE</li>
  <li>the server can receive my HTTP DELETE request just fine (put another way: I have successfully sent a HTTP DELETE request to the server, the only problem is that the server misinterpret my request because it turned out jquery put the parameters in the body of the request while the server expects the parameters in query string)</li>
  <li>I am sending the request to a web service</li>
  <li>I have to use HTTP DELETE because that's how the provider of the web service set up the service</li>
  <li>the parameters must be in the query string because the provider will only read the parameters in the query string and will ignore the request body</li>
  </ul>