HTTP
The HTTP piece in ZBrain Flow provides essential web communication capabilities, allowing you to interact with external APIs, web services, and online resources directly from your workflows. This versatile connector enables you to send requests, receive responses, and exchange data with virtually any system that exposes an HTTP interface. With HTTP integration, you can build automations that fetch information from third-party services, submit data to external systems, trigger remote processes, and integrate with web-based platforms without requiring additional middleware or custom code. This piece is fundamental for creating workflows that need to communicate with the broader internet ecosystem.
How to Use HTTP in ZBrain Flow?
Step 1: Select HTTP as Your Connection
Click on the '+' button in the Flow and search for HTTP.
Select HTTP.
The primary action available is:
Send HTTP request – Make web requests using various HTTP methods.
Step 2: Configure Your HTTP Request
From the 'Method' dropdown, select the appropriate HTTP verb:
GET - retrieve data
POST - submit data
PUT - update existing data
DELETE - remove data
PATCH - partially update data
Other standard HTTP methods like HEAD
In the 'URL' field, enter the complete web address for your request.
Step 3: Set Request Headers
Click 'Add Item' in the 'Headers' section to specify HTTP headers. Common headers include:
Content-Type (application/json, application/xml, etc.)
Authorization (for API keys or tokens)
Accept (to specify response format)
Step 4: Add Query Parameters
Click 'Add Item' in the 'Query params' section to add URL parameters.
Step 5: Configure Request Body
From the 'Body Type' dropdown, select the format for your request payload:
Raw - for plain text or custom formats
JSON - for structured JSON data
FormData - for multipart form data (files and fields)
Step 6: Set Additional Options
Toggle 'Use Proxy' if you need to route your request through a proxy server. This is useful for accessing resources with IP restrictions or when you need to mask your origin IP.
In the 'Proxy Host' field, enter the hostname or IP address of your proxy server.
In the 'Proxy Port' field, specify the port number on which the proxy server is listening.
If your proxy server requires authentication:
Enter your 'Proxy Username' for identification
Provide the corresponding 'Proxy Password' for authentication
Leave these fields empty if your proxy doesn't require authentication
Set the 'Timeout' value (in seconds) to limit how long to wait for a response.
Last updated