cURL to Code Converter

Paste a curl command below to get the equivalent JavaScript (fetch) or Python (requests) code - handy when you copy a curl example from API docs but you’re writing a script, not a terminal command.