/install httprequests
HTTP Requests
Use this skill when an HTTP API call is needed and curl quoting/escaping would be fragile.
What this skill does
- Sends HTTP requests via Python
requests - Supports
GET,POST,PUT,DELETE - Supports headers, query params, JSON body, form data, and timeout
- Writes a light daily JSONL log under
logs/ - Avoids logging sensitive values like authorization tokens and full bodies
Inputs to collect
Before running the script, gather:
- Method:
GET/POST/PUT/DELETE - URL
- Headers if any
- Query params if any
- JSON body or form data if any
- Timeout if the user cares (otherwise use default)
Script
Primary script:
scripts/request_http.py
Run it with Python and pass method/url plus optional inputs.
Logging
Logs are stored inside this skill directory:
logs/YYYY-MM-DD.jsonl
Each line contains a light summary only:
- timestamp
- method
- url
- status
- ok
- duration_ms
- response_bytes
- error (if any)
Do not log authorization tokens, cookies, or full request/response bodies by default.
When to read references
Read references/usage-patterns.md when:
- the request has multiple headers/params/body fields
- the user wants an example pattern
- you need to choose between JSON body and form data
- you need the expected command-line argument style for the script
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install httprequests - 安装完成后,直接呼叫该 Skill 的名称或使用
/httprequests触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
http-requests-1.0.0 是什么?
Send HTTP requests with Python requests instead of curl when quoting and escaping would be error-prone. Use for GET, POST, PUT, DELETE requests with headers,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 101 次。
如何安装 http-requests-1.0.0?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install httprequests」即可一键安装,无需额外配置。
http-requests-1.0.0 是免费的吗?
是的,http-requests-1.0.0 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
http-requests-1.0.0 支持哪些平台?
http-requests-1.0.0 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 http-requests-1.0.0?
由 Pumpkin(@pumpkinttl)开发并维护,当前版本 v1.0.0。