Hi, I tried to access the api on my server, but when I debug it through the browser or run it through ionic view, the error appears like this:
XMLHttpRequest cannot load http:/apiserver/api/. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost’ is therefore not allowed access.
I have found a tutorial here http://blog.ionic.io/handling-cors-issues-in-ionic/
and i tried all of them, but still failed… any idea?