Import from cURL

Convert a cURL command into an API test step without manual setup.

How to import

To import a cURL command as a test step, do the following:

  1. Open a test and select the + button to add a step.

  2. Select Import from cURL.

  3. In the modal, enter a Step name and paste your cURL command.

  4. Select Create.

What Gets Imported

  • HTTP method, URL, headers, query parameters, and request body are mapped automatically.

  • SON request bodies are prettified on import.

  • Your account's default organization headers are merged with headers from the cURL. If the same header exists in both, the cURL value takes precedence.

Supported

  • HTTP and HTTPS only.

  • Methods: GET, POST, PUT, DELETE, PATCH.

Limitations

  • Single step only. One cURL command creates one step. Collection-level import is not supported.

  • No chaining. Commands using &&, ;, or newline-separated calls return a validation error.

  • --max-time and --location are silently ignored.Steps are created without them, with no warning shown.

  • Unrecognized flags are silently ignored. If a flag is not listed above, it is skipped without error.

Note

Invalid or unsupported cURL syntax produces a validation error in the modal. Correct the command and try again.

Publication date: