docs: update examples

This commit is contained in:
JustSong
2022-12-22 10:30:40 +08:00
parent ffa7a490c9
commit 71fe432b95
+1 -1
View File
@@ -180,7 +180,7 @@ MESSAGE_PUSHER_TOKEN="666"
function send_message {
curl -s -X POST "$MESSAGE_PUSHER_SERVER/push/$MESSAGE_PUSHER_USERNAME" \
-H 'Content-Type: application/json' \
-d '{"title":"'"$1"'","description":"'"$2"'", "content":"'"$3"'", "token":"'"$MESSAGE_PUSHER_TOKEN"'"}' \
-d '{"title":"'"$1"'","desp":"'"$2"'", "content":"'"$3"'", "token":"'"$MESSAGE_PUSHER_TOKEN"'"}' \
>/dev/null
}