PDA

View Full Version : Ext.data.Api question



archmisha
24 Aug 2009, 10:01 AM
Is it possible to do the following:


new Ext.data.HttpProxy({
api: {
create: {
url: 'myurl',
method: 'post',
params: {p1: 'v1', p2: 'v2'}
}
}


or must i do


new Ext.data.HttpProxy({
api: {
create: 'myurl?p1=v1&p2=v2'
}
}


Thanks