Created
January 15, 2018 16:20
-
-
Save saiyam1814/5284bde07290a8985ea760d9f6a4d37d to your computer and use it in GitHub Desktop.
This is the curl command for posting to flowdock Raw
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
# Replace FLOWTOKEN with actual Token | |
# get token for different flows from : https://www.flowdock.com/account/tokens | |
curl -X POST \ | |
https://api.flowdock.com/v1/messages/chat/FLOWTOKEN \ | |
-H 'cache-control: no-cache' \ | |
-H 'content-type: application/json' \ | |
-H 'postman-token: 6d81aa94-23d1-3999-c28b-c82012acd002' \ | |
-d ' | |
{ | |
"content":":white_check_mark:**Write you message to post here**", | |
"external_user_name":"Bot", | |
"status": { | |
"color": "red", | |
"value": "open" | |
} | |
} | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment