reyesoft / ngx-jsonapi

JSON API client library for Angular 5+ 👌 :: Production Ready 🚀
https://ngx-jsonapi.reyesoft.com/
MIT License
101 stars 52 forks source link

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

Open NadiyaDyka opened 3 years ago

NadiyaDyka commented 3 years ago

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.