Copy-Paste cURL Commands
HTTP
steps can easily be created by copying cURL
commands and pasting them directly in the Workflow Editor.
If a valid curl command is pasted, it will be parsed into an HTTP step with the appropriate
request type
,URL
,body
,headers
, andcookies
.If a
URL
is pasted, anHTTP GET
step will be created using the providedURL
.The
HTTP
actions created this way will be added last to the list of actions that the Workflow may already have.
If any part of the cURL command is invalid, an error or a warning message will pop up and inform you of the issue.
How to use the Copy-Paste cURL Commands in the Workflow Editor
Start by copying a cURL command
- For example:
curl -X POST "https://api.example.com/endpoint" \
-H "Authorization: Bearer your-api-token" \
-H "Content-Type: application/json" \
-d '{
"key1": "value1",
"key2": "value2"
}'Open the Workflow Editor: Navigate to the Workflow Editor where you want to add the
cURL
command.Paste the command: Use the keyboard shortcut
Cmd + V
(orCtrl + V
on Windows) to paste thecURL
command directly into the Workflow Editor. It will automatically parse into a structuredHTTP
Action.