Copy-Paste cURL Commands
The Copy-Paste cURL Command feature allows you to effortlessly create and sendHTTP requests by using keyboard shortcuts to copy (Cmd + C on macOS or Ctrl + C on Windows) and paste (Cmd + V on macOS or Ctrl + V on Windows) cURL commands directly into the Workflow Editor. This streamlines workflow setup, making it faster, more intuitive, and more efficient.
-
If a valid
cURLcommand is pasted in a Workflow step, it will be parsed into a Send HTTP action with the supported parameters. -
The Send HTTP action created by copying and pasting the
cURLcommand in a Workflow Step, will be added last to the list of actions that the Workflow steps may already have.
Supported Parameters
-
When a
cURLcommand is pasted into the Workflow Editor, only supported parameters are processed. Unsupported parameters are ignored and skipped. -
If any part of the
cURLcommand is invalid, an error or a warning message will pop up in the bottom-right corner of the Workflow Editor and inform you of the issue.
The
GET flag (-G or --get) forces the HTTP request type to GET, but it can be overridden by the -X or --request flag. The X flag explicitly sets the request method (e.g., POST, PUT, DELETE), and if both flags are used, -X takes precedence. Use these options carefully to ensure your intended HTTP request type is correctly configured.How to use the Copy-Paste cURL Commands in the Workflow Editor
- Start by copying a cURL command For example:
-
Open the Workflow Editor: Navigate to the Workflow Editor where you want to add the
cURLcommand. -
Paste the command: Use the keyboard shortcut
Cmd + V(orCtrl + Von Windows) to paste thecURLcommand directly into the Workflow Editor. It will automatically parse into a structuredHTTPAction.
