I am getting this error while trying to get data from python flask API.
Here is my code:
import requests #import json url = \'http://localhost:5000/\'