about summary refs log tree commit diff stats
path: root/gotify.sh.example
diff options
context:
space:
mode:
authorBenny Morrison <benmorrison@ttm.sh>2019-03-17 22:59:19 -0400
committerBenny Morrison <benmorrison@ttm.sh>2019-03-17 22:59:19 -0400
commit8eba807b76007421908346a4d70d055b492af939 (patch)
treeb14fd58dbd79d902b677a50099f27258b1fc6b48 /gotify.sh.example
parentb892315699b94ba7f0bf9d2a78dbb1a637227ea7 (diff)
downloadgoofbot-8eba807b76007421908346a4d70d055b492af939.tar.gz
added gotify script for goofbot to call
Diffstat (limited to 'gotify.sh.example')
-rw-r--r--gotify.sh.example6
1 files changed, 6 insertions, 0 deletions
diff --git a/gotify.sh.example b/gotify.sh.example
new file mode 100644
index 0000000..72caa06
--- /dev/null
+++ b/gotify.sh.example
@@ -0,0 +1,6 @@
+curl --request POST \
+  --url 'https://gotify.tildeverse.org/message?token=redacted' \
+    --header 'accept: application/json' \
+      --header 'content-type: application/json' \
+        --header 'x-gotify-key: redacted' \
+          --data '{  "message": "A hero is needed in #institute",  "priority": 2,  "title": "Admin Request" }'