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

Demo site "Online JSON API client" does not work again, since the server does not give permission for CORS #303

Open
NadiyaDyka opened this issue Feb 25, 2021 · 0 comments

Comments

@NadiyaDyka
Copy link

Open the page: http://ngx-jsonapi.reyesoft.com/#/authors in Firefox, open the Developer Tool, refresh the page.

Expected Result: a working "ngx-jsonapi example" is available on the page. The page displays a list of authors.
Actual result: a message "No connection 2!!!" is displayed next to the "ngx-jsonapi example" title. No data is displayed.

There is a blocked request in the list of requests in the Developer Tool :
Method: OPTIONS, URL: http://jsonapiplayground.reyesoft.com/v2/authors?sort=name&include=books
Transferred: CORS Missing Allow Origin

Presumably, the server should give permission for CORS.

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