Skip to content

HTTP module

The HTTP module provides a complete HTTP client that can be used within your JavaScript actions to communicate with external REST APIs and web services.

This module supports all standard HTTP methods (GET, POST, PUT, PATCH, DELETE) and includes authentication options for secure API communication.

Use cases include triggering external automation systems, sending tracking data to web services, or integrating with IoT devices via HTTP APIs.

img

HTTP module specific controls

Name Description
Base Address Base URL for all requests (e.g., https://api.example.com). All request paths will be appended to this address.
Timeout Request timeout in milliseconds. Default: 5000 ms. 0 means no timeout.
Auth Type Authentication type: None, Basic or Bearer.
Auth Username Username for Basic authentication. Only used when Auth Type is Basic.
Auth Password Password for Basic authentication. Only used when Auth Type is Basic.
Auth Token Token for Bearer authentication. Only used when Auth Type is Bearer.