Curl Command Builder

Build a copy-ready curl command for Bash or PowerShell. Add the URL, method, headers, query parameters, authentication and body — the exact command updates live below.

Headers
Query parameters
Options

Bash

curl -X POST \
  'https://api.example.com/v1/users?page=1' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  --data-raw '{
  "name": "Jane Doe",
  "email": "jane@example.com"
}'

PowerShell

curl.exe -X POST `
  'https://api.example.com/v1/users?page=1' `
  -H 'Content-Type: application/json' `
  -H 'Accept: application/json' `
  --data-raw '{
  "name": "Jane Doe",
  "email": "jane@example.com"
}'

Frequently asked questions

What is curl?

curl is a command-line tool for transferring data with URLs. Developers use it to test and debug HTTP APIs by sending requests with custom methods, headers, query parameters, authentication and bodies.

Why does the PowerShell command use curl.exe?

In Windows PowerShell, curl is an alias for Invoke-WebRequest, which accepts different arguments. Using curl.exe forces the real curl executable so flags such as -H and --data-raw behave exactly as written.

Is my request sent anywhere?

No. The builder only assembles a command string in your browser for you to copy. Nothing is executed or uploaded, so it is safe to include real tokens while you check the syntax.

More from Networking

Browse all 100 tools →

Build custom software with us

From internal tools to full platforms — we deliver end to end.

Was this tool useful?