Api Gateway cannot allow Access-Control-Allow-Origin
问题 This url is in AWS API Gateway with method get and stage is well deployed. And I enabled CORS following the aws document. Here are my steps to enable CORS. -Resource->action->enable CORS-> default setting ->enable CORS and replacing the CORS headers. There is no error log in CORS result. I am not a profesional web developer and my browser is safari. Here is my code to query "http://my.com" function request(idex) { var xmlHttp = new XMLHttpRequest(); xmlHttp.onreadystatechange = function() {