I was programming myself a pretty nice api to get some json data from my gameserver to my webspace using json,
but everytime i am sending a request using angular i am ge
I had the same error as yours.
My flask server was installed inside respberry-pi and I was trying to access it using https://ip:5000.
respberry-pi
https://ip:5000
The problem was I was using https instead of http.
https
http
When I changed it to http://ip:5000, it worked.
http://ip:5000