From 09bd0164ebc020a54b944b7326dcba496fb5d82c Mon Sep 17 00:00:00 2001 From: Minteck Date: Fri, 26 Aug 2022 22:29:23 +0200 Subject: idk when was the last commit so I'm making a new one - Violet Dawn --- api/pleasure.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 api/pleasure.php (limited to 'api/pleasure.php') diff --git a/api/pleasure.php b/api/pleasure.php new file mode 100644 index 0000000..702fe2f --- /dev/null +++ b/api/pleasure.php @@ -0,0 +1,23 @@ + [ + 'method' => 'POST', + 'header' => + "Content-Type: text/plain\r\n" . + "Title: [Test] 🏩 $pony wants to play for a bit\r\n" . + "Priority: high\r\n" . + "Tags: pleasure\r\n" . + "Authorization: Basic " . base64_encode($ntfy["user"] . ":" . $ntfy["password"]), + 'content' => "[This notification is test] Hey, $pony wants to play and have fun for a bit, get up! [This notification is test]" + ] +])); + +die(); \ No newline at end of file -- cgit