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

CORS unsupported #4

Open
rsullivan00 opened this issue Mar 3, 2021 · 0 comments
Open

CORS unsupported #4

rsullivan00 opened this issue Mar 3, 2021 · 0 comments

Comments

@rsullivan00
Copy link

rsullivan00 commented Mar 3, 2021

Hi there, thanks for putting up this playground, it has been a huge help in explaining JSON API to others.

It looks like the server hosting http://jsonapiplayground.reyesoft.com/ is not responding to OPTIONS requests, so updated browsers will opt not to process AJAX requests to the API. The console prints errors like:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://jsonapiplayground.reyesoft.com/v2/authors?sort=name&include=books. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://jsonapiplayground.reyesoft.com/v2/authors?sort=name&include=books. (Reason: CORS request did not succeed).

I'm not sure if this project is still supported, so if you're not able to add CORS support, thanks anyways!

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