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

Missing "Access-Control-Allow-Origin" header? #7

Open
queensburybill opened this issue Feb 13, 2019 · 0 comments
Open

Missing "Access-Control-Allow-Origin" header? #7

queensburybill opened this issue Feb 13, 2019 · 0 comments

Comments

@queensburybill
Copy link

I'm a newbie, so forgive me if this is a silly question, but is it possible that the response for the hangman/hint endpoint is missing the "Access-Control-Allow-Origin": * header? I'm getting a CORS error when I try to do a GET request using axios. My other requests to the API work fine in the browser so I'm not sure why this one doesn't, and they all work when I tested them with Postman. In fact, it was in Postman that I noticed the other responses all include the above mentioned header and only in the hint response is it missing. Any enlightenment would be greatly appreciated.

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