HTTP requests

cURL Builder

Fill in method, URL, headers, query parameters, auth, and body. Copy a quoted curl command you can run in a terminal — this page does not send the request.

Loading the cURL builder…

curl -L --max-time '30' -H 'Accept: application/json' 'https://api.example.com/v1/status'

How the command is built

curl reads flags from left to right, then the URL. This builder omits -X GET because GET is the default. JSON and form bodies add a Content-Type header when you have not set one. Empty query keys and header names are skipped.

FlagMeaning
-XHTTP method (omitted for GET)
-HRequest header
-dRequest body
-uBasic auth user:password
-AUser-Agent
-LFollow redirects
-kSkip TLS verification
-iInclude response headers
--compressedAsk for a compressed response
--max-timeTimeout in seconds

cURL builder FAQ

What is curl?

curl is a command-line tool for making HTTP requests. Developers use it to call APIs, debug webhooks, and check health endpoints from a terminal.

Does this tool run the request?

No. It only builds the command. Copy it and run it locally so credentials never leave your machine through this site.

How are values quoted?

Arguments are wrapped in POSIX single quotes. An apostrophe inside a value is encoded as '\''. That form works in bash, zsh, and most Linux/macOS shells.

When should I use -L, -k, or --max-time?

-L follows redirects. -k skips TLS certificate checks (useful only in local or test setups). --max-time aborts the request after the given number of seconds so a hung host does not block you.

How does this relate to Crystade?

The same HTTP requests you test with curl can become health checks or scheduled webhook jobs in Crystade, with logs and alerts when they fail.

Turn this request into a health check

Run HTTP checks and webhook jobs on a schedule, with execution logs and alerts when a call fails.

Get started free