Hi guys,

I am trying to implement a GET data from the server, but ExtJs is sending weird url, take a look:
http://localhost:8098/rest/v1/distribution-list/1?id=1

It shouldn't send parameter 'id', how can i remove that?

this is my Model

Ext.define('Wave.model.DistributionList', {
extend: 'Ext.data.Model',
fields: [
{name: 'id'},
{name: 'name', type: 'string'},
{name: 'status', type: 'string'}

],

proxy: {
type: 'rest',
noCache: false,
reader: {
type: 'json'
},
actionMethods: {
create: 'POST',
read: 'GET', // defaults to GET
update: 'POST',
destroy: 'DELETE'
},
api: {
read: 'http://localhost:8098/rest/v1/distribution-list/',
create: 'http://localhost:8098/rest/v1/distribution-list/',
update: 'http://localhost:8098/rest/v1/distribution-list/',
destroy: 'http://localhost:8098/rest/v1/distribution-list/'
}

}
});