Files
Compass/scripts/curl.sh
MartinBraquet 7ff42db0c6 Curl API
2025-09-16 18:41:25 +02:00

22 lines
319 B
Bash
Executable File

#!/bin/bash
set -e
cd "$(dirname "$0")"/..
source .env
export url=http://localhost:8088/v0
#export url=https://api.compassmeet.com
export endpoint=/internal/send-search-notifications
curl -X POST ${url}${endpoint} \
-H "x-api-key: ${COMPASS_API_KEY}" \
-H "Content-Type: application/json" \
-d '{}'
echo