https post certificate verification error Pico W #13449
Unanswered
hgprojekt
asked this question in
RP2040 / Pico
Replies: 1 comment
-
Hi |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm new in the forum so hello everyone.
I'm trying to use the requests library to send data to the server via https protocol.
r = requests.post(url, headers=headers, data=json.dumps(data), verify='server.pem')
Certificate is stored locally in server.pem file.
Everything works great in Python.
In Micropython (1.22.1) there is an error:
TypeError: unexpected keyword argument 'verify'
How to add a certificate verification to a requests.post?
Beta Was this translation helpful? Give feedback.
All reactions