Outils de Développement
Construire des commandes cURL avec des en-têtes, méthodes et options personnalisés
Constructeur cURL
Construire des commandes cURL avec des en-têtes, méthodes et options personnalisés
100% OfflinePrivacy FirstInstant
Constructeur cURL
Spécifier la méthode de requête à utiliser
L'URL vers laquelle envoyer la requête
En-tête de Requête
Options cURL
Commande cURL Générée
curl
La commande cURL générée apparaîtra ici...
Learn more about cURL Command Builder
About cURL Command Builder
Build cURL commands for any HTTP request using a visual form interface. Fill in the URL, method, headers, body, and authentication options, and get a correctly formatted cURL command you can run directly in your terminal.
Key features
- Supports GET, POST, PUT, PATCH, DELETE methods
- Add custom headers and query parameters
- Set request body (JSON, form data, raw)
- Configure Basic Auth or Bearer token auth
- Generates clean, copy-ready cURL command
How to use cURL Command Builder
- 1Enter the request URL and select the HTTP method
- 2Add any required headers (Content-Type, Authorization, etc.)
- 3Fill in the request body if needed (JSON or form data)
- 4Copy the generated cURL command and run it in your terminal
Frequently asked questions
- What HTTP methods does the cURL builder support?
- The builder supports GET, POST, PUT, PATCH, DELETE, HEAD, and OPTIONS — all the standard HTTP methods you need for REST API testing.
- How do I add a JSON body to a POST request?
- Select POST, choose "JSON" as the body type, paste your JSON, and the builder will add the correct Content-Type header and format the --data flag automatically.
- Can I add Bearer token authentication?
- Yes. Enter your token in the authentication section and the builder generates the correct -H "Authorization: Bearer YOUR_TOKEN" flag.
- Does the generated cURL work on Windows?
- The cURL command uses standard syntax that works on macOS, Linux, and Windows (via Windows Subsystem for Linux or Git Bash). Windows Command Prompt requires backslash line continuation.