I am trying to replicate the below curl command in python using the requests module. The curl command is as follows:
curl -v -k -H "apikey:INTERNAL_TEST" http://api1/publicapi/macro/<sha256> -X POST
I am able to replicate the whole curl command except the letter '-X' before POST.
Please inform me in case more information is required. Thank you in advance.
© 2016 Powered by mzan.com design MATCHINFO