Karan Sharma

Converting Python Requests to cURL Commands

0 minutes (31 words)
$ pip install curlify
...
import curlify
print(curlify.to_curl(r.request))  # r is the response object from the requests library.

Tags: #Python