← 返回
未分类

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,...
使用 Python requests 发送 HTTP 请求,比 curl 更适合处理引号和转义错误。可用于 GET、POST、PUT、DELETE 请求以及自定义头部等。
pumpkinttl
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 327
下载
💾 0
安装
1
版本
#latest

概述

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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 13:29 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 79 📥 182,813
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 197 📥 68,112
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 683 📥 330,503