Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

Hooks not working on Docker and DEV

$
0
0

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."}' http://192.168.99.100:8065/hooks/x7jydjwfhpnzmjeydxfw15w5ga

It always returns (404):
root@a3de0c40f7ac:/# curl -i -X POST -d 'payload={"text": "Hello, this is some t
ext.\nThis is more text."}' http://192.168.99.100:8065/hooks/x7jydjwfhpnzmjeydxfw15w5ga
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




Viewing all articles
Browse latest Browse all 25778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>