Merge pull request #2 from cyb3rko/header-authentication
Header-based authentication
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
curl "$INPUT_GOTIFY_API_BASE/message?token=$INPUT_GOTIFY_APP_TOKEN" \
|
curl "$INPUT_GOTIFY_API_BASE/message" \
|
||||||
|
-H "X-Gotify-Key: $INPUT_GOTIFY_APP_TOKEN" \
|
||||||
-F "title=$INPUT_NOTIFICATION_TITLE" \
|
-F "title=$INPUT_NOTIFICATION_TITLE" \
|
||||||
-F "message=$INPUT_NOTIFICATION_MESSAGE" \
|
-F "message=$INPUT_NOTIFICATION_MESSAGE" \
|
||||||
-F "priority=$INPUT_NOTIFICATION_PRIORITY"
|
-F "priority=$INPUT_NOTIFICATION_PRIORITY"
|
||||||
|
|||||||
Reference in New Issue
Block a user