cURL Converter
cURL → Python / JS / PHP / Go
import requests
url = "https://api.example.com/v1/users"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_TOKEN"
}
data = {"name": "Jane", "email": "[email protected]"}
response = requests.post(url, headers=headers, json=data)
print(response.json())