about summary refs log tree commit diff stats
path: root/gotify.sh.example
blob: 79f2fc9abb30e376425699924a2cec439279e9c7 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/bash

curl --request POST \
  --url 'https://gotify.tildeverse.org/message?token=APIKEYHERE' \
  --header 'accept: application/json' \
  --header 'content-type: application/json' \
  --header 'x-gotify-key: APIKEYHERE' \
  --data '{  "message": "A hero is needed in #institute",  "priority": 5,  "title": "Admin Request" }'