Accepted answer

This has been discussed in multiple posts

By default you cannot call localhost request on browsers but you can disable the security

Check here : Disable same origin policy in Chrome


I also faced the same issue and I changed the URL to http://localhost:5000/path instead of using https://localhost:5000/path

It works for me.


I had the same issue and changed the URL to http://localhost:5000/upload instead of using https://localhost:5000/upload.

Related Query

More Query from same tag