Skip to main content

Node Inputs

Required Fields

URL:
The target URL for the HTTP request.
Example: "https://api.example.com/data"
Method:
The HTTP method to use.
Available options:
  • GET: Retrieve data
  • POST: Send data
  • PUT: Update data
  • PATCH: Partial update
  • DELETE: Delete data
    Example: "GET"

Optional Fields

Headers:
Custom HTTP headers as a JSON object.
Example:
{
  "Content-Type": "application/json",
  "Authorization": "Bearer token123",
  "User-Agent": "DNG-Builder/1.0"
}
Body:
Request body for POST, PUT, PATCH requests.
Example:
{
  "name": "John Doe",
  "email": "john@example.com"
}
Query Parameters:
URL query parameters as a JSON object.
Example:
{
  "page": "1",
  "limit": "50",
  "sort": "date"
}
Timeout:
Request timeout in seconds.
Example: 30
Default: 30
Follow Redirects:
Whether to follow HTTP redirects.
Example: true
Default: true

Node Output

Response Data:
The HTTP response including status code, headers, and body content.
Example Output:
{
  "status_code": 200,
  "status_text": "OK",
  "headers": {
    "content-type": "application/json",
    "date": "Sat, 19 Oct 2024 10:30:00 GMT"
  },
  "body": {
    "data": [
      {"id": 1, "name": "Item 1"},
      {"id": 2, "name": "Item 2"}
    ],
    "total": 2
  },
  "response_time": 245
}

Node Functionality

The HTTP Request node:
  • Makes HTTP/HTTPS requests to any external API or web service.
  • Supports all standard HTTP methods (GET, POST, PUT, PATCH, DELETE).
  • Allows custom headers and authentication.
  • Handles JSON, XML, and plain text responses.
  • Provides detailed response information including status codes and timing.
I