diff --git a/python3/getRequest.py b/python3/getRequest.py index 89b936a..d77de5e 100644 --- a/python3/getRequest.py +++ b/python3/getRequest.py @@ -1,6 +1,7 @@ import urllib3 +import certifi -http = urllib3.PoolManager() +http = urllib3.PoolManager(cert_reqs='CERT_REQUIRED', ca_certs=certifi.where()) company = "YOUR_TEAMWORK_SITE_NAME" key = "YOUR_API_KEY" @@ -13,4 +14,4 @@ response = request.status data = request.data -print(data) \ No newline at end of file +print(data)