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.
| Flag | Meaning |
|---|---|
| -X | HTTP method (omitted for GET) |
| -H | Request header |
| -d | Request body |
| -u | Basic auth user:password |
| -A | User-Agent |
| -L | Follow redirects |
| -k | Skip TLS verification |
| -i | Include response headers |
| --compressed | Ask for a compressed response |
| --max-time | Timeout 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