CORS Issue with API running on Web2Py
问题 I've searching a lot and although I found similar issues, it seems that I haven't found my answer yet and maybe you can help me. I have the following API on my Web2Py framework and I am accessing it with a AngularJS front-end app and I am having CORS issues (I already tried * in the orign or my specific IP and port but no good results). Nevertheless, it does work with IE but not with Chrome or Mozilla. @request.restful() def api(): def GET(): key = main() #generate random XML and returns the