javascript - Enable CORS, WEBAPP, -


i struggling following problem. created simple webapp sends via javascript „get“ operations other server. problem app hosted lets on www.webapp.com/webcontent , webapp itselfes consumes data services. odata services hosted on system www.sap.universityber.com/opu/… when want run app locally reverse proxy (apache) , disable security settings in chrome works fine. when want run normal browser without reverse proxy , chrome settings says „no data“, reason -> cors.

  1. can in forum tell me how such cors- enablement work maybe example code?

please help.

thanks

enabling cors need done www.sap.universityber.com/opu/, not in web app. if it's open api, may offer jsonp alternative (jsonp isn't subject same origin policy, end-run around it, also needs cooperation of server providing content).


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -