{jsonbody.com}

How to Use the cURL to Code

How to use the free cURL to Code, step by step with a screenshot: Paste a curl command, for example from your browser's Copy as cURL.

Loading…

Open the cURL to Code

The cURL to Code on jsonbody.com

Steps

  1. Paste a curl command, for example from your browser's Copy as cURL.
  2. Choose the target: JavaScript (fetch), JavaScript (axios), Python (requests), PHP (cURL) or Go (net/http).
  3. Copy the generated code.

Tips

  • Headers, the request body, basic auth and form data are all carried over.

Related guides