/install api-endpoint-tester
API Endpoint Tester
What This Does
A simple CLI tool to send HTTP requests to REST API endpoints and validate responses. Supports GET, POST, PUT, DELETE, PATCH methods with custom headers and request bodies (JSON or form data).
When To Use
- You need to test API endpoints manually or in scripts
- You want to validate HTTP status codes and response formats
- You're debugging API integrations and need quick requests
- You need to check if an endpoint is reachable and responding correctly
Usage
Basic GET request: python3 scripts/main.py run --url "https://api.example.com/users" --method GET
POST with JSON body: python3 scripts/main.py run --url "https://api.example.com/users" --method POST --body '{"name": "John", "email": "[email protected]"}'
With custom headers: python3 scripts/main.py run --url "https://api.example.com/users" --method GET --headers '{"Authorization": "Bearer token123"}'
Examples
Example 1: Simple GET request
python3 scripts/main.py run --url "https://jsonplaceholder.typicode.com/posts/1" --method GET
Output:
{
"status": "success",
"status_code": 200,
"headers": {
"content-type": "application/json; charset=utf-8"
},
"body": {
"userId": 1,
"id": 1,
"title": "sunt aut facere repellat provident occaecati excepturi optio reprehenderit",
"body": "quia et suscipit\
suscipit recusandae consequuntur expedita et cum\
reprehenderit molestiae ut ut quas totam\
nostrum rerum est autem sunt rem eveniet architecto"
},
"response_time_ms": 245
}
Example 2: POST with validation
python3 scripts/main.py run --url "https://jsonplaceholder.typicode.com/posts" --method POST --body '{"title": "foo", "body": "bar", "userId": 1}' --expected-status 201
Requirements
- Python 3.x
requestslibrary (install via pip if not available)
Limitations
- This is a CLI tool, not an auto-integration plugin
- Does not support WebSocket or streaming endpoints
- Limited to HTTP/HTTPS protocols (no gRPC, GraphQL, etc.)
- No built-in authentication beyond headers
- Does not save test suites or history (single request at a time)
- Timeouts default to 10 seconds
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install api-endpoint-tester - 安装完成后,直接呼叫该 Skill 的名称或使用
/api-endpoint-tester触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
API Endpoint Tester 是什么?
CLI tool to test REST API endpoints with various HTTP methods, headers, and payloads. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 494 次。
如何安装 API Endpoint Tester?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install api-endpoint-tester」即可一键安装,无需额外配置。
API Endpoint Tester 是免费的吗?
是的,API Endpoint Tester 完全免费(开源免费),可自由下载、安装和使用。
API Endpoint Tester 支持哪些平台?
API Endpoint Tester 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 API Endpoint Tester?
由 Derick(@derick001)开发并维护,当前版本 v1.0.1。