send_api_request
Send HTTP requests (GET, POST, PUT, DELETE) to APIs with JSON validation, custom headers, body content, and proxy support. Returns JSON responses for integration workflows.
Instructions
发送API请求并返回JSON响应,支持多种协议和代理
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | 请求的URL,支持http和https协议 | |
| method | No | HTTP方法,如GET, POST, PUT, DELETE等 | GET |
| headers | No | 请求头对象,键值对 | |
| body | No | 请求体内容,对于POST等方法 | |
| proxy | No | 代理服务器地址,格式如 http://proxy.example.com:8080 |