9 Commits

Author SHA1 Message Date
Bud
9e1cbff8ed Send Slack alerts as pure json
Now works with mattermost as well as slack
Set the Content-type header application/json
Removed extraneous code that was urlencoding some apparently unused data ($api)
Removed "payload=" from the alert messsage as it is not proper json
2016-05-13 13:15:38 -05:00
5115095d8f Give slightly more information on Transport API failure. 2016-03-23 17:01:06 +00:00
laf
4c1e4326d4 Removed <?php from files 2015-07-15 21:25:10 +01:00
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
a41f0922a2 Added a few missing characters 2015-05-27 09:35:52 +02:00
laf
c1c520d781 Removing POST / GET code as slack only uses POST 2015-02-28 11:45:30 +00:00
laf
06bf9cd95e Removed debug line! 2015-02-27 15:26:13 +00:00
laf
92b069bff1 Final updates (hopefully) for slack transport 2015-02-27 15:23:14 +00:00
laf
4f48346d56 Added slack transport agent 2015-02-27 12:10:34 +00:00