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
{{ message }}
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.
Hi blastbeng... CORS should not be disabled when using curl. I guess you are calling from a browser? If you could provide more info so I can reproduce it I'll have another look. I think in the end you should do something like res.set_header("Access-Control-Allow-Origin", "http://someurl.*"); or something like that...
@blastbeng when I was trying to access the API directly from a browser my primary issue with CORS was the preflight request. I ended up wrapping my handlers with the following for the time being
Hi,
I have the following error:
"...has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."
so i need to add the Access-Control-Allow-Origin header, actually I am using the json_data example
How to do that?
Thanks and Regards
The text was updated successfully, but these errors were encountered: