sales_tool/_test/test_dev.sh
2025-11-17 14:21:29 +09:00

16 lines
434 B
Bash
Executable file
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
# APIエンドポイントURL
API_URL="https://sales-tool-gw-dev-ex1cujb.an.gateway.dev/trigger-minutes-workflow-from-miitel"
# APIキーヘッダーに付与する場合
API_KEY="AIzaSyBVJOtvJTB4noAfUGEyMhCRqsF5yfypENc"
# リクエストボディ
JSON_FILE="request.json"
# curlコマンド実行
curl -X POST "$API_URL" \
-H "Content-Type: application/json" \
-H "x-api-key: $API_KEY" \
-d @"$JSON_FILE"