CORS ‘access-control-allow-origin’ header

1 week 5 days ago #2721 by srcejon
Hi,

I'm trying to download aircraft data from: , webbrowser CORS policy blocks the download as it is from a different web site, that doesn't specify the access-control-allow-origin header. Would it be possible to configure the web server so that it sets this header?

For nginx, it would be something like: 
add_header 'Access-Control-Allow-Origin' '*';

Probably useful for the REST API too. Thanks.

Please Log in or Create an account to join the conversation.

1 week 3 days ago #2722 by strohmeier
Sorry, the forum is getting too much spam. You'll need to post the links differently as a new user.

Generally though, CORS policy is also set this way for a reason.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
This website uses cookies to offer you the best experience of our services. By using this website you agree to our privacy policy!