share-lt/cmd/curl_send_user_toast_message.sh

12 lines
265 B
Bash
Raw Normal View History

#!/usr/bin/env bash
URL='http://127.0.0.1:8000'
curl -X POST $URL/api/notifications/preview-site-built \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"message": "Published to LIVE 💯🚀🎯 - site notification!"}'