Last active
August 29, 2015 14:21
-
-
Save jobwat/7fc9b1cf88ba2cae5991 to your computer and use it in GitHub Desktop.
Curl message into a slack.com channel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
\"text\": \"RELEASE has been released at URL \", | |
\"channel\": \"#CHANNEL\", | |
\"username\": \"USERNAME\", | |
\"icon_emoji\": \"EMOJI\" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X POST --data-urlencode "payload=$payload" https://hooks.slack.com/services/XXX/YYY/ZZZ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment