Skip to main content

send-message

Send HTTP POST requests with JSON payloads. Use when you need to make API calls, send data to webhooks, or communicate with web services via POST requests.

来源信息

仓库
warpdotdev/oz_workspace_agent
最近来源活动
2026年2月8日 03:49
检测到的 SKILL.md 语言
英语
星标
6
分支
4

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
send_message
description
Send HTTP POST requests with JSON payloads. Use when you need to make API calls, send data to webhooks, or communicate with web services via POST requests.
# Send Message Send POST requests with JSON data to any URL. ## Usage Run the script with a URL and JSON data: ```bash python3 scripts/send_post_request.py <url> --data '<json>' ``` ## Examples Basic POST request: ```bash python3 scripts/send_post_request.py https://httpbin.org/post --data '{"message": "hello"}' ``` With custom headers: ```bash python3 scripts/send_post_request.py https://api.example.com/endpoint \ --data '{"key": "value"}' \ --header "Authorization: Bearer $TOKEN" \ --header "X-Custom-Header: custom-value" ``` ## Response The script outputs a JSON object with: - `status_code`: HTTP status code - `headers`: Response headers - `body`: Response body (parsed as JSON if possible) - `error`: Error message (only if request failed)
在 GitHub 查看