Simple Incoming Webhook – let’s learn how to create a simple incoming webhook that posts the following message to Mattermost
Linux
curl -i -X POST -H ‚Content-Type: application/json‘ -d ‚{„text“: „Hello, World!“}‘ http://<Mattermost Server>:8065/hooks/<generated key>
Windows 10
curl -i -X POST -H „Content-Type: application/json“ -d „{\“text\“: \“Hello, World!\“}“ http://<Mattermost Server>:8065/hooks/<generated key>