http node makes HTTP requests to external APIs. It supports all standard HTTP methods, custom headers, query parameters, and request bodies.
Configuration
Config Fields
HTTP Methods
Supported methods:GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS
Output
Examples
GET Request
GET with Query Parameters
POST with JSON Body
PUT Request
DELETE Request
With Custom Headers
With Timeout
Error Handling
on_error: "abort" (default)
If the request fails (network error, timeout, non-2xx status), the flow stops immediately.
on_error: "continue"
Errors are captured in the output instead of failing the flow:
Body Handling
JSON Body (default)
Objects are automatically serialized as JSON:Form URL Encoded
Usebody_type: "form" to send application/x-www-form-urlencoded data. Common for OAuth token requests:
grant_type=client_credentials&client_id=xxx&client_secret=yyy
Multipart File Upload
Usebody_type: "multipart" or add a files array to upload files:
Multiple Files:
String Body
Strings are sent as-is:Template Body
Use templates for dynamic content:Response Parsing
- JSON responses are automatically parsed into objects
- Other responses are returned as strings
- Check
Content-Typeheader to determine response format
URL Templates
The URL supports template expressions:Common Patterns
Authenticated Request
OAuth Token Exchange
Pagination
Webhook Call
File Upload
Related
- Transform Node - Process response data
- Condition Node - Check response status
- Try Node - Handle request failures