Skip to content

CORS unsupported #4

Description

@rsullivan00

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions