Send messages to Slack using cURL

Slack allows you to send messages via theĀ Webhooks service

Create a webhook for any channel and then you can send notification using curl.

$ curl -X POST -H 'Content-type: application/json' --data '{"text": "Something important"}'  <https://hooks.slack.com/services/YOUR/TOKENIZED/URL>