ExtJS 6.6.0 Enable CORS in form submit
问题 How to enable Cross Domain in ExtJS 6.6.0 this.getForm().submit({ url: REST.API_DOMAIN + REST.API_ATTACH + data.id, scope: this, success: function(form, result) { console.info(result); }, failure: function(form, result) { console.info(result); } }); Although the REST API is fully cross-domain, ExtJS rejects the response. response headers HTTP/1.1 200 OK Date: Wed, 11 Jul 2018 11:41:36 GMT Server: Apache Content-Encoding: gzip Vary: Accept-Encoding Access-Control-Allow-Origin: * Access-Control