Created
September 21, 2017 11:56
-
-
Save Manikkumar1988/afd769dceb29c41af06a06c2595b0728 to your computer and use it in GitHub Desktop.
CURL command to upload file on Slack
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 https://slack.com/api/files.upload -F token="${SLACK_TOKEN}" -F channels="${SLACK_CHANNEL}" -F title="${message_title}" -F filename="${filename}" -F file=@"${path_to_file}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
is it possible to use markdown? I want to add formatted links to the message