http-requests

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, query params, JSON body, form data, timeout control, and concise response inspection. Triggers on phrases like "调用这个 API", "发 GET 请求", "发 POST 请求", "请求这个接口", "带 header 调接口", "用 requests 代替 curl", "测试 webhook", or "看接口返回了什么".

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "http-requests" with this command: npx skills add pumpkinttl/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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

YiHui GIT MONITOR

通用 Git 项目监控工具。支持 GitHub、GitLab、Gitee 等所有 Git 平台。可以添加、删除、检查任意 Git 仓库的更新,自动拉取代码并生成变更摘要。

Registry SourceRecently Updated
00Profile unavailable
Coding

Workspace Governance

A methodology-first workspace governance skill for AI agents. Focuses on principles, decision framework, and safe execution patterns instead of fixed directo...

Registry SourceRecently Updated
Coding

Nox Influencer - Creator Discovery & Influencer Marketing

Runs NoxInfluencer creator and marketing-ops workflows via CLI, including creator discovery for influencer marketing, creator marketing, UGC, social media ma...

Registry SourceRecently Updated
Coding

Gigo Lobster Doctor

🦞 GIGO · gigo-lobster-doctor: 环境体检模式:只检查 gateway、Python 依赖、题包链路与 PNG 证书能力,不跑正式试吃。 Triggers: 龙虾体检 / 检查龙虾环境 / lobster doctor / check lobster environment.

Registry SourceRecently Updated