curl Command Builder

Build a curl command with method, headers, and a request body.

How it works

Set HTTP method, URL, headers, and body to build a curl command with proper quoting. Copy and run it in your shell to test APIs quickly.

Example: your choices build a ready-to-run command like curl -X POST … -H … -d ….

curl -X GET "https://api.example.com/v1/items" \
  -H "Content-Type: application/json"