Convert curl to Python requests
Paste a curl command below to generate equivalent requests.request() code with method, headers, and body. Runs entirely in your browser.
Python requests
Paste a valid curl command first.
# python requests appears hereTip: run your curl through Curl Cleaner first to remove browser headers before converting.