http_client
Send HTTP requests to any URL using GET, POST, PUT, DELETE, or HEAD methods. Useful when direct HTTP access is not available.
Instructions
Make arbitrary HTTP requests from the API hub.
Use this when you need to call a URL but don't have direct
HTTP access. Supports GET, POST, PUT, DELETE, HEAD methods.
Parameters:
url — The full URL to request (required).
method — HTTP method: 'GET' (default), 'POST', 'PUT',
'DELETE', or 'HEAD'.
headers — Optional JSON string of extra headers:
'{"Authorization": "Bearer token"}'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| method | No | GET | |
| headers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |