PDA

View Full Version : Proxy method: 'POST'



PV-Patrick
1 Mar 2011, 10:17 AM
Is there a way to instruct the AJAX Proxy to perform a POST vs a GET? In previous versions of EXTJS you would simply use the config option: method : 'POST' in the proxy config.

AlxH
1 Mar 2011, 11:43 AM
You can pass this:



actionMethods: {
create : 'POST',
read : 'GET',
update : 'POST',
destroy: 'POST'
}


to the ajaxproxy in the constructor to configure the behaviour.