m-click / requests_pkcs12

Add PKCS#12 support to the Python requests library in a clean way, without monkey patching or temporary files
ISC License
124 stars 33 forks source link

How do I make a POST request? #31

Closed luciano-buono closed 3 years ago

luciano-buono commented 3 years ago

Can't find the body/payload argument in the post function

luciano-buono commented 3 years ago

You need to use the argument data to create the body of the POST request

r = post(url, pkcs12_filename=pfx_file, pkcs12_password=password, verify=False, data= body)