You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Access to XMLHttpRequest at 'http://localhost:9090/' from origin 'http://localhost:63342' 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.
Tell me please, how do I enable CORS in the xmlrpc server? Also, is there any way to inspect the response and request on the server?
Thanks in advance.
Bob
The text was updated successfully, but these errors were encountered:
I am running server-side xmlprc using this code: https://github.com/reselbob/simple-xml-rpc/blob/master/server/server.js
When I run a vanilla HTML/jQuery code that is here:
https://github.com/reselbob/simple-xml-rpc/blob/master/client/index.html
and here:
https://github.com/reselbob/simple-xml-rpc/blob/master/client/js/helpers.js
I get a CORS error in Chrome, like so:
Access to XMLHttpRequest at 'http://localhost:9090/' from origin 'http://localhost:63342' 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.
Tell me please, how do I enable CORS in the xmlrpc server? Also, is there any way to inspect the response and request on the server?
Thanks in advance.
Bob
The text was updated successfully, but these errors were encountered: