I have to do a POST from my ExtJs script in order to delete something from my DB:
Ext.Ajax.request({ url: \'deleteRole.html\', method: \'POST\',
I solved it with the following code:
var rolename = 'myRol'; Ext.Ajax.request({ url: 'deleteRole.html', method: 'POST', params: { rolename: rolename }, success: received, failure: function(){console.log('failure');} });