Quantcast
Channel: MATLAB Central Newsreader - tag:"urlread"
Viewing all articles
Browse latest Browse all 16

Re: using urlread (or urlread2) with a client certificate and key

$
0
0
Python equivalent would be something like

payload = 'username=myusername&password=password'
headers = {'Content-Type': 'application/x-www-form-urlencoded'}
 
resp = requests.post('myurl', data=payload, cert=('client-2048.crt', 'client-2048.key'), headers=headers)

Viewing all articles
Browse latest Browse all 16

Trending Articles