Overview
The API cURL node executes cURL commands to make HTTP/HTTPS requests. It’s perfect for importing existing cURL commands from browser dev tools, Postman, or API documentation. The node parses cURL syntax and executes the request, storing the response in the workflow context.Configuration
Complete cURL command string. Supports variable interpolation.Example:
Request timeout in milliseconds.
Context variable name to store the response.
If
true, failed requests log warnings but don’t stop workflow execution.Retry Configuration
Enable automatic retry on failure.
Number of retry attempts.
Delay between retries in milliseconds.
Delay strategy:
fixed or exponentialSupported cURL Options
The node supports most common cURL options:-X, --request- HTTP method (GET, POST, PUT, DELETE, etc.)-H, --header- Custom headers-d, --data- Request body--data-raw- Raw request body--data-binary- Binary data-F, --form- Form data (multipart)-u, --user- Basic authentication--compressed- Accept compressed responses-L, --location- Follow redirects-A, --user-agent- Custom user agent
Response Structure
Same as API Request node:Examples
Basic Requests
With Authentication
From Browser DevTools
Form Data & File Upload
With Variables
Multiline cURL
Long Command
With Retry
Resilient Request
Converting Browser Requests
Chrome DevTools
- Open DevTools (F12)
- Go to Network tab
- Perform the request
- Right-click on the request
- Select “Copy” > “Copy as cURL”
- Paste into the curlCommand field
Firefox DevTools
- Open DevTools (F12)
- Go to Network tab
- Perform the request
- Right-click on the request
- Select “Copy” > “Copy as cURL”
- Paste into the curlCommand field
From Postman
- Open your request in Postman
- Click “Code” button (code icon)
- Select “cURL” from the dropdown
- Copy the generated cURL command
- Paste into the curlCommand field
cURL to API Request
You can convert cURL commands to API Request nodes:- cURL
- API Request
Accessing Response Data
Notes
The cURL parser automatically handles quote escaping and multi-line commands. Just paste the command as-is from browser dev tools or Postman.
Variable interpolation works within the cURL command string, allowing dynamic URLs, headers, and body content.
Common Patterns
API Testing
Quick Prototyping
Related Nodes
- API Request - Structured API requests
- JavaScript Code - Process responses
- Verify Element - Verify API responses
- Loop - Iterate over results
