View Full Version : ds.load GET vs POST

18 Apr 2007, 10:06 AM
Is there any way to get the dataStor.load() method to use HTTP GET rather than defaulting to POST when params are passed in?

params: {start: 0, limit: 20}

18 Apr 2007, 10:38 AM
I think you can add method:'GET' to your params.

18 Apr 2007, 11:45 AM
Sorry. Adding method: 'GET' does not work.

I am using jQuery. I think that might have something to do with it.

19 Apr 2007, 1:05 AM
It's a config param to the HttpProxy that you create to pass to the Store. This param is in fact an Ext.data.Connection, or a config object for an Ext.data.Connection, so iyou would have had to read the code to fnid this out, sorry!

Ext.data.Connection is now documented in SVN, so you'll be able to discover this soon!

new HttpProxy({url:'/foo', method:'GET'})