Mattermost, Inc.

Hooks not working on Docker and DEV

I installed the docker image (DEV) on windows using:
docker run --name mattermost-dev -d --publish 8065:80 mattermost/platform:dev

Then I enabled hooks. And added incoming hook for bugs channel.
Then I tried to run
curl -i -X POST -d ‘payload={“text”: “Hello, this is some text.\nThis is more text.”}’

It always returns (404):
root@a3de0c40f7ac:/# curl -i -X POST -d ‘payload={“text”: “Hello, this is some t
ext.\nThis is more text.”}’
HTTP/1.1 404 Not Found
X-Ratelimit-Limit: 10
X-Ratelimit-Remaining: 9
X-Ratelimit-Reset: 1
Date: Thu, 17 Mar 2016 11:51:33 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked

Hi @matejsp. Webhooks are broken on our master branch right now and we’re looking into the issue. Thanks for the report!

We’re going through a major development and architecture change to our web client right now, so there are some hiccups like this that we are getting over :slight_smile:

I understand that. Actually the original problem is that stable docker image is not working.
So I used DEV. See topic: Docker container exists code 1.