Created
November 27, 2017 00:23
-
-
Save miguelmota/f24eb0342769b718ac63e92f2c104ae5 to your computer and use it in GitHub Desktop.
Slack post message with cURL
This file contains 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
TOKEN="xoxp-abc" | |
CHANNEL="some-channel" | |
TEXT="hello" | |
curl -X POST "https://slack.com/api/chat.postMessage" -d "token=$TOKEN&channel=$CHANNEL&text=$TEXT" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment