Thanks for posting your code here. It looks like you did not specify the allowed origins when configuring CORS. From the flask-cors docs, you need to use the origins options to allow a list of origins. I see you are using HTML files directly in the browser, I’d suggest adding a simple HTTP server in front of it and adding it’s URL in the origins list: