Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl -i -u username:password -H "Content-Type: application/json;charset=utf-8" -X POST -d '{"id_no":"7877"}' https://host/XXXX/ -k
- headers = {'Content-Type': 'application/json;charset=utf-8'}
- parameter = {'id_no': 7877}
- p_response = requests.get(url,auth=('username', 'password'), headers=headers,params=parameter)
- requests.exceptions.SSLError: HTTPSConnectionPool(host='host', port=443): Max retries exceeded with url: /id_no/?id_no=7877 (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:748)'),))
Add Comment
Please, Sign In to add comment