Hey all...this is probably an easy question but I have my Proxy created on my JsonStore with the api as such:
Code:
proxy: new Ext.data.HttpProxy({
                api: {
                    read : Pdws.config.contextRoot + '/home/userpreference/getUserStatePreferences',
                    destroy : Pdws.config.contextRoot + '/home/userpreference/deleteUserStatePreference'
                }
            }
Read is easy...some magic in ExtJs calls read but now I need my Clear preference function to call the delete url and I thought I would do this via:
Code:
<store>.proxy.request('destroy', <Followed by too much useless information that I don't think NEEDS to be there>);
But that doesn't seem to be the case and I keep getting a Syntax error issue but I'm not sure I'm even calling the API correctly anyway. I'm creating a JsonProvider to send data to the server so our DB handles Ext state components on page load.

Any help would be great.