How can I bypass CORS that is not enabled in a black box API?

时间:2018-07-25 05:27:23

标签: oracle reactjs cors hosting hyperion

I am working on a web application that communicates with Oracle Hyperion on-premise via Rest API. I created a ReactJS application that does this just fine. However, I had to add the allow CORS plugin to chrome to be able to develop the application. For the production stage of the web application, is there any way to bypass this limitation without a browser extension?

Will CORS still be a problem if the application is hosted on the same server as Hyperion? I don't know if hosting it on the same server yet.

And last, does CORS have anything to do with JavaScript because it uses AJAX for example? I made the same request with Java code on Eclipse, and it worked perfectly without needing anything related to CORS. Would using a different language/framework that React JS be of any use to this problem?

0 个答案:

没有答案