I have backend with POST functionality (so JSONP is not working).
Backend sends Access-Control-Allow-Origin: *
correctly (jQuery.ajax works successfully).
But I cannot send request using Ext.Ajax.request
Ext.Ajax.request({
url: 'http://myurl',
method: 'POST',
cors: true,
success: function () {
alert('success');
},
failure: function () {
alert('failure');
}
});
In debug console I see OPTIONS method
Where is my mistake?
Ext.getVersion()
version: "5.0.1.1255"