http_request
Execute HTTP requests to web APIs with custom methods, headers, and body content. Send GET, POST, PUT, DELETE, and other HTTP methods to interact with endpoints.
Instructions
Execute an HTTP request with custom method, URL, headers, and body. Supports GET, POST, PUT, DELETE, PATCH, and other HTTP methods. The AI can choose all parameters based on the task requirements.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to send the request to (e.g., "https://api.example.com/endpoint") | |
| method | No | HTTP method to use (GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS, etc.). Defaults to GET if not specified. | |
| headers | No | Optional HTTP headers as key-value pairs (e.g., {"Content-Type": "application/json", "Authorization": "Bearer token"}) | |
| body | No | Optional request body. Can be a string or an object (will be JSON stringified for objects) | |
| params | No | Optional URL query parameters as key-value pairs (e.g., {"id": "123", "filter": "active"}) |