View Full Version : Can you tell proxies to write parameters in urls?

18 Oct 2011, 7:22 AM
I'm using php and mod rewrite. A url for fetching dataobjects can look like this:

localhost/Cars/Get/1 (Get car with id 1) or
localhost/Cars/Get/Set/2/25 (Get second set of cars in quantities of 25(paging))

Is it possible to get my store to understand this logic?

18 Oct 2011, 1:29 PM
Isn't that a RESTful URL? Try the REST proxy:
- http://docs.sencha.com/ext-js/4-0/#!/api/Ext.data.proxy.Rest

18 Oct 2011, 2:22 PM
If you can't get it to work with a RESTful proxy, perhaps this extension could help you?


If you end up using it then please let me know if you have any feedback. At some point I intend to tidy it up and publish it as a proper UX.