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
# python requests appears here

Tip: run your curl through Curl Cleaner first to remove browser headers before converting.