Tony Blundell
08/29/2019, 11:05 AM# python requests lib
url = '<https://example.com>'
headers = {
'Content-Type': 'application/x-www-form-urlencoded'
}
cert = (path_to_cert_file, path_to_key_file)
data = {
'username': username,
'password': password
}
r = <http://requests.post|requests.post>(url, headers=headers, cert=cert, data=data)
e5l
08/29/2019, 12:45 PMTony Blundell
08/29/2019, 1:32 PMe5l
08/29/2019, 3:05 PMTony Blundell
08/29/2019, 3:08 PM