From d31149cfd0487955782fde2a8f6846f3fe0363b4 Mon Sep 17 00:00:00 2001 From: eyjhb Date: Wed, 12 Mar 2025 00:04:44 +0100 Subject: [PATCH] notify: added bash alias example --- machines/gerd/services/notify/app.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/machines/gerd/services/notify/app.py b/machines/gerd/services/notify/app.py index abd2e5f..9c6fb49 100644 --- a/machines/gerd/services/notify/app.py +++ b/machines/gerd/services/notify/app.py @@ -236,6 +236,9 @@ def index():
+ + bash alias +
notify() {{ curl "{CONFIG_URL}/notify/{token}" -g --data-urlencode "body=${{1:-}}"; }}
curl
curl "{CONFIG_URL}/notify" -H "Authorization: Bearer {token}"
curl w/ specific body/title