Skip to content

Instantly share code, notes, and snippets.

@osapon osapon/
Created Jun 5, 2016

What would you like to do?
put_slack() {
channel_id=`curl -s "" --data "token=${slack_team_key}" --data "user=${slack_user_id}" --data "pretty=1" | jq -r ""`
curl -s '' \
--data "token=${slack_team_key}" \
--data "channel=${channel_id}" \
--data "pretty=1" \
--data-urlencode "text=$1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.