gc_http
Make GET, POST, PUT, and DELETE requests to external APIs while configuring bearer, basic, or header authentication, custom headers, query parameters, and timeouts to retrieve or modify remote data.
Instructions
Generic HTTP client for external API calls. Actions: get, post, put, delete. Supports bearer, basic, and header auth.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Target URL | |
| auth | No | Authentication config | |
| body | No | JSON body (for post/put) | |
| action | Yes | HTTP method | |
| params | No | Query parameters | |
| headers | No | Custom headers | |
| timeout | No | Timeout in ms (default 30000). Accepts string-of-int / 'none' / 'infinity'. |