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で見る