Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for "Access-Control-Allow-Origin" #41

Open
cancan101 opened this issue Feb 23, 2015 · 0 comments
Open

Support for "Access-Control-Allow-Origin" #41

cancan101 opened this issue Feb 23, 2015 · 0 comments

Comments

@cancan101
Copy link
Contributor

Right now trying to use the browser (JS) SDK leads to:

XMLHttpRequest cannot load http://localhost:9324/.
No 'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'http://localhost:8000' is therefore not allowed access.
The response had HTTP status code 400.

i.e. the browser is preventing CORS.

See: https://coderwall.com/p/0izzta/cors-directive-for-spray
and: http://jkinkead.blogspot.com/2014/11/handling-cors-headers-with-spray-routing.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant