I am just one and half week old in python, so please bear my ignorance-
I am trying to make a POST call with oauth key-
the code I am using-
import requests
import json
url = "https://monkeyman.com/private/bananaintelligence/merchant"
datas = {
"merchantLookup" : [
{
"name": "BananaPi",
"postcode": "10011",
"country": "USA"
}
]
}
headers = {'Content-type': 'application/json', 'Authorization':'Bearer hiuqbqjbdyqgf6etyqgeqk!$#$DFWEDWEFWEFERGREGERGRHG$%#T#T#T#T##TERGEGEGEGEGE'}
rsp = requests.post(url, json=datas, headers=headers)
Error -
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)
I know that key is fine since it's working fine with my spring boot app and also from postman, is there any specific way in python to pass Authorization key. Help!