-
-
Notifications
You must be signed in to change notification settings - Fork 100
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 Header Missing ? #114
Labels
Comments
Hi @csselo Could you please post your server code? I'm wondering why it says "rest.php", are you using php? json-rpc is transport agnostic library, it does not deal with server interaction and hence does not have CORS handling. The latter should be implemented on your own. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rest.php:1 Access to XMLHttpRequest at 'http://localhost:4000/jsonrpc' from origin 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Altough I add header
?
The text was updated successfully, but these errors were encountered: