From b511fdf93b867ab24bbf0bbb053df1dc504f9b9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20=C5=A0tefl?= Date: Fri, 16 Jan 2026 21:07:43 +0100 Subject: [PATCH] =?UTF-8?q?P=C5=99idat=20Linux/gotify.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Linux/gotify.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Linux/gotify.sh diff --git a/Linux/gotify.sh b/Linux/gotify.sh new file mode 100644 index 0000000..78865e9 --- /dev/null +++ b/Linux/gotify.sh @@ -0,0 +1,7 @@ +#!/bin/bash +TITLE="My Title" +MESSAGE="Hello: ![](https://gotify.net/img/logo.png)" +PRIORITY=5 +URL="http://localhost:8008/message?token=" + +curl -s -S --data '{"message": "'"${MESSAGE}"'", "title": "'"${TITLE}"'", "priority":'"${PRIORITY}"', "extras": {"client::display": {"contentType": "text/markdown"}}}' -H 'Content-Type: application/json' "$URL" \ No newline at end of file