HTTP Worker
The HTTP Worker is a powerful, general-purpose worker that can make HTTP requests to any endpoint. It supports all HTTP methods, multiple authentication types, retry policies, and response validation.
Features
- All HTTP methods (GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS)
- Multiple authentication types (Basic, Bearer, API Key, OAuth2)
- Request body support (JSON, XML, Form, Multipart, Binary)
- Path and query parameters
- Custom headers and cookies
- Retry policies with exponential backoff
- Response validation (status codes, body content, JSONPath)
- Proxy support
- Client certificates (mTLS)
- SSL/TLS configuration
Use Cases
| Scenario | Example |
|---|---|
| Webhook Triggers | Call external APIs on schedule |
| Health Checks | Monitor external service availability |
| Data Sync | Fetch data from REST APIs periodically |
| Notifications | Send HTTP-based notifications (Slack, Teams, Discord) |
| Report Generation | Trigger report generation endpoints |
| Cache Warming | Pre-populate caches by calling endpoints |