Skip to main content

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, and cookies.

  • If a URL is pasted, an HTTP GET step will be created using the provided URL.

  • The HTTP actions created this way will be added last to the list of actions that the Workflow may already have.

info

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

  1. 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"
    }'
  2. Open the Workflow Editor: Navigate to the Workflow Editor where you want to add the cURL command.

  3. Paste the command: Use the keyboard shortcut Cmd + V (or Ctrl + V on Windows) to paste the cURL command directly into the Workflow Editor. It will automatically parse into a structured HTTP Action.

Thumbnail