We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 is a running issue for candidates using this API. Could you provide instructions for how to deal with it?
My current attempt is to specify the following environment:
allowed_origins=http://localhost:3000,https://...
The text was updated successfully, but these errors were encountered:
Probably forgetting to add the correct content type when making a post, patch or delete. The API uses cors package to allow access from anywhere
It must have application/json content-type header for any post, put, delete or patch requests
Edit To clarify: Json-server uses it internally
Sorry, something went wrong.
This was for a GET request actuallly... see the issue.
No branches or pull requests
CORS is a running issue for candidates using this API. Could you provide instructions for how to deal with it?
My current attempt is to specify the following environment:
The text was updated successfully, but these errors were encountered: