Skip to main content

HTTP Request

Type: http_request • Category: flow

Description

Perform HTTP call

Parameters

NameTypeDescriptionRequiredDefault
urlstringno
methodstringno"GET"
bodyobjectno

Help

HTTP Request Worker

Makes HTTP requests to external APIs and web services.

How it works:

  1. Request Construction: Builds HTTP request with specified method, URL, and body
  2. Execution: Sends request with 60-second timeout
  3. Response Processing: Returns status code, headers, and parsed JSON/text response

Parameters:

  • url: Target URL for the HTTP request
  • method: HTTP method (GET, POST, PUT, DELETE, etc.)
  • body: Request body as JSON object (automatically serialized)

Supported Methods:

  • GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS

Response Format:

  • status: HTTP status code (200, 404, 500, etc.)
  • data: Parsed JSON response or raw text
  • headers: Response headers (if available)

Examples:

Content-Type Handling:

  • JSON bodies are automatically serialized
  • JSON responses are automatically parsed
  • Non-JSON responses return as text

Error Handling:

  • Network errors return error information
  • Timeout after 60 seconds
  • Invalid URLs or methods return validation errors

Common Use Cases:

  • Call REST APIs
  • Fetch data from web services
  • Submit forms and data
  • Integrate with third-party services
  • Webhook notifications