Skip to content

Instantly share code, notes, and snippets.

@jobwat
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jobwat/7fc9b1cf88ba2cae5991 to your computer and use it in GitHub Desktop.
Save jobwat/7fc9b1cf88ba2cae5991 to your computer and use it in GitHub Desktop.
Curl message into a slack.com channel
{
\"text\": \"RELEASE has been released at URL \",
\"channel\": \"#CHANNEL\",
\"username\": \"USERNAME\",
\"icon_emoji\": \"EMOJI\"
}
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