title: Model posts JSON data on "destroy" request
body: <p>I am having the following issue, which I cannot seem to resolve, even searching the forums online yielded no useful hints.</p>
  
  <p>I have the following code, which determines the first selected record in an Ext.Tree.Panel and sends a destroy request. However, a JSON object is posted instead of the expected name/value query string. </p>
  
  <pre><code>var record = this.getClientUserTree().getSelectedRecord();
  
  record.destroy({
       scope: this,
       success: this.onDeleteUserSuccess,
       failure: this.onDeleteUserFailure
  });
  </code></pre>
  
  <p>I am including the code for the corresponding model as well as that of the dispatched request.</p>
  
  <pre><code>Ext.define('Admin.model.Client', {
      extend: 'Ext.data.Model',
      fields: ['id', 'name', 'company', 'address', 'postal_code', 'city', 'country', 'phone', 'fax', 'note'],
  
      proxy: {
          type: 'ajax',
          api: {
              read: 'clientajax',
              destroy: 'clientajax/delete'
          },
          reader: {
             type: 'json',
             root: 'results'
         }
      }
  });
  </code></pre>
  
  <p>Posted string in the request:</p>
  
  <pre><code>{"id":"14","client":"5","username":"Testtest","firstName":"Genti","lastName":"Testing","role":"admin","superadmin":false}
  </code></pre>
  
  <p>Can anyone tell me what I am doing wrong?</p>
  
  <p>Thank you for your help in advance,
  Genti</p>