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:
-
Open a test and select the
+button to add a step. -
Select Import from cURL.
-
In the modal, enter a
Step nameand paste your cURL command. -
Select Create.
What Gets Imported
-
HTTP method, URL, headers, query parameters, and request body are mapped automatically.
-
JSON 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.
-
Bash syntax only. Other shell syntaxes, such as PowerShell or Zsh, are not supported.
Supported
-
HTTP and HTTPS only.
-
Methods: GET, POST, PUT, DELETE, PATCH.
-
Bash syntax only. Other shell syntaxes, such as PowerShell or Zsh, are not supported.
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-timeand--locationare 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.
Invalid or unsupported cURL syntax produces a validation error in the modal. Correct the command and try again.