how to make a `curl -ki` with python requests library -
my working curl follows
curl -ki 'https://host/api/getdata' -h 'authorization: app-auth "<token>"' -h 'content-type: application/json'
but doesn't work follows:
curl -xget 'https://host/api/getdata' -h 'authorization: app-auth "<token>"' -h 'content-type: application/json'
i cannot replicate python requests library, appreciated.
Comments
Post a Comment