http-request
发起 HTTP 网络请求,支持 GET、POST、PUT、DELETE、PATCH 方法。当用户需要调用 API、获取网页内容、发送数据到服务器时使用。
npx skills add EXboys/evotown --skill http-request --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# HTTP Request Skill 一个通用的 HTTP 网络请求技能,支持常见的 RESTful API 调用。 ## 功能特性 - 支持 GET、POST、PUT、DELETE、PATCH 方法 - 支持自定义请求头 - 支持 JSON 请求体 - 支持 URL 查询参数 - 支持超时设置 - **旧版 SSL 兼容**:支持连接使用旧版 TLS 的服务器(如部分政府/教育网站) - **浏览器级 User-Agent**:减少 503/反爬拦截 - **Wikipedia/Wikimedia 合规**:访问 wikipedia.org / wikimedia.org / wikidata.org 时自动使用合规 User-Agent(否则易 403),并加 1.5 秒间隔降低限流 - **自动重试**:对 502/503/504 自动重试 2 次 - **HTML→Markdown**:网页响应自动转为 Markdown(默认),降低 token 消耗 ## 使用示例 ### GET 请求 ```json { "url": "https://httpbin.org/get", "method": "GET", "params": {"name": "test"} } ``` ### POST 请求 ```json { "url": "https://httpbin.org/post", "method": "POST", "headers": {"Content-Type": "application/json"}, "body": {"message": "hello world"} } ``` ### 天气查询(推荐 Open-Meteo,免费无 key) ```json { "url": "https://api.open-meteo.com/v1/forecast", "method": "GET", "params": { "latitude": 18.7883, "longitude": 98.9853, "daily": "temperature_2m_max,temperature_2m_min,weathercode", "timezone": "Asia/Bangkok", "forecast_days": 2 } } ``` 清迈坐标 18.7883,98.9853。返回 JSON 含 daily.time、temperature_2m_max/min、weathercode。 wttr.in 亦可用:`https://wttr.in/Chiang_Mai?format=j1`,skill 会自动用 curl UA 以获取 JSON。 ### Wikipedia 获取城市/地点摘要(推荐,限流较宽松) ```json { "
- 功能特性
- 使用示例
- GET 请求
- POST 请求
- 天气查询(推荐 Open-Meteo,免费无 key)
- Wikipedia 获取城市/地点摘要(推荐,限流较宽松)
- Wikipedia 搜索 API(params 可用 q,skill 会自动转为 action=query&list=search)
- Runtime
What does the http-request skill do?
发起 HTTP 网络请求,支持 GET、POST、PUT、DELETE、PATCH 方法。当用户需要调用 API、获取网页内容、发送数据到服务器时使用。
How do I install it?
Run `npx skills add EXboys/evotown --skill http-request --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From EXboys/evotown, a repository with 659 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
