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.
- 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
Post a Comment