From 8eba807b76007421908346a4d70d055b492af939 Mon Sep 17 00:00:00 2001 From: Benny Morrison Date: Sun, 17 Mar 2019 22:59:19 -0400 Subject: added gotify script for goofbot to call --- .gitignore | 1 + gotify.sh.example | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 .gitignore create mode 100644 gotify.sh.example diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..62883ad --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/gotify.sh 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" }' -- cgit 1.4.1-2-gfad0