Page 1 of 1

Access to rest service do not work if appery.io proxy is not used

Posted: Sat Nov 09, 2013 6:20 pm
by Pasteur Miranda

Hi,

I tested my app using appery.io proxy to access rest services. But now I'm removing appery.io proxy in order to post the app to Google Play and App store. The problem is, if I remove the proxy and access the app from an web browser, it does not work and console shows the message "XMLHttpRequest cannot load http://www.... Origin http://www.... is not allowed by Access-Control-Allow-Origin.".

How can I access rest services in web browsers without using appery.io proxy?

Code: Select all

Thanks

Access to rest service do not work if appery.io proxy is not used

Posted: Sat Nov 09, 2013 6:29 pm
by maxkatz

The service you are using doesn't support cross-domain calls: http://docs.appery.io/documentation/c...