Hi. It's taken me a while to work out what format the server was expecting it's payload (I had to translate the hook into powershell). I thought it would be good to make a comment on what is epxected by the subversion commit hook.
POST https: //hitched.slack.com/services/hooks/subversion?token=xxxxxx
Content-Type: application/x-www-form-urlencoded
Host: foo.slack.com
Content-Length: 101
payload=%7B%22revision%22%3A1%2C%22url%22%3A%22http%3A%2F%2Fsvnserver%22%2C%22author%22%3A%22digiguru%22%2C%22log%22%3A%22Log%20info%22%7D
That is specifically lowercase JSON parameters with double quotes, and no quotes around the revsision number
{"revision":1,"url":"http://svnserver","author":"digiguru","log":"Log info"}