I\'m trying to send a message using Slack\'s chat.postMessage API call. I have no problems encoding my test messages within HTTP GET, but I\'m trying to achieve the same res
As of March 2018, Slack now supports POST with JSON body
Endpoint: https://slack.com/api/chat.postMessage
https://slack.com/api/chat.postMessage
Headers: Authorization: Bearer xoxp-your-hardly-find-token-here
Authorization: Bearer xoxp-your-hardly-find-token-here
Body: {"channel":"CH9NN37","text":"something from me!"}
{"channel":"CH9NN37","text":"something from me!"}
Notice the Bearer in the Authorization header.