about summary refs log blame commit diff stats
path: root/gotify.sh.example
blob: 667db58523c84819d7a2a38949ec8b0b3ea6bdee (plain) (tree)
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" }'