ToolPal

Générateur de commandes cURL

Construisez des commandes cURL visuellement. Définissez la méthode HTTP, l'URL, les en-têtes, le corps et les options, puis copiez la commande générée.

Request

En-têtes

Options

Commande cURL générée

curl "https://api.example.com/endpoint"

Comment utiliser

Construisez des commandes cURL visuellement. Définissez la méthode HTTP, l'URL, les en-têtes, le corps et les options, puis copiez la commande générée.

  1. 1Select your HTTP method (GET, POST, PUT, PATCH, DELETE, etc.).
  2. 2Enter the URL of the API endpoint you want to call.
  3. 3Add request headers by clicking 'Add Header' and entering key-value pairs.
  4. 4For POST/PUT/PATCH requests, enter your request body in JSON or raw format.
  5. 5Toggle options like follow redirects, verbose, or insecure as needed.
  6. 6Copy the generated cURL command from the output box.

Fonctionnalités

  • Supports all HTTP methods: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
  • Dynamic headers — add as many key-value pairs as you need
  • JSON, raw, and form data body types for POST/PUT/PATCH
  • Options for redirects (-L), verbose (-v), insecure (-k), and more
  • Generated command formatted for terminal with proper line breaks

Questions fréquentes

En savoir plus