Search found 2 matches

Go to advanced search

by Lionel Bartlett
Fri Apr 04, 2014 3:19 am
Forum: Issues
Topic: Access-Control -Allow-Origin
Replies: 5
Views: 867
 
Jump to post

Access-Control -Allow-Origin

The proxy works thanks.

I'm accessing a XML service not hosted at Appery, so

  1. If I leave Proxy checked and compile app, will the compiled app still use the proxy?

  2. Does access through the Proxy count toward API calls, e.g. 1 mil - 15 mil depending on package.

by Lionel Bartlett
Fri Apr 04, 2014 1:53 am
Forum: Issues
Topic: Access-Control -Allow-Origin
Replies: 5
Views: 867
 
Jump to post

Access-Control -Allow-Origin

It's true that the issue does not happen is you use the app on a device, however, Appery provide a Header option on the service request, so how can I add 'Access-Control-Allow-Origin' there (or anywhere else in the app) to avoid this error occurring? What is the syntax of the header and value? Thanks.

Go to advanced search