summaryrefslogtreecommitdiffstats
path: root/doc/integrations/webhooks/Incoming-Webhooks.md
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-10-22 13:44:59 -0400
committerJoramWilander <jwawilander@gmail.com>2015-10-26 07:56:04 -0400
commit79dda565f80687e1acc6c882aaad268451507024 (patch)
treee61f0e6b6657ee755fed564a74a694b508b05709 /doc/integrations/webhooks/Incoming-Webhooks.md
parentae2898107d275176126ab07ca1886fd7fd7ddad4 (diff)
downloadchat-79dda565f80687e1acc6c882aaad268451507024.tar.gz
chat-79dda565f80687e1acc6c882aaad268451507024.tar.bz2
chat-79dda565f80687e1acc6c882aaad268451507024.zip
Started outgoing webhook doc
Diffstat (limited to 'doc/integrations/webhooks/Incoming-Webhooks.md')
-rw-r--r--doc/integrations/webhooks/Incoming-Webhooks.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/integrations/webhooks/Incoming-Webhooks.md b/doc/integrations/webhooks/Incoming-Webhooks.md
index 7340282be..65a7953d5 100644
--- a/doc/integrations/webhooks/Incoming-Webhooks.md
+++ b/doc/integrations/webhooks/Incoming-Webhooks.md
@@ -4,8 +4,8 @@ Incoming webhooks allow external applications, written in the programming langua
A couple key points:
-- **Mattermost incoming webhooks are Slack-compatible.** If you've used Slack's incoming webhooks to create integrations, you can copy and paste that code to create Mattermost integrations. Mattermost automatically translates Slack's propretiary JSON payload format into markdown to render in Mattermost messages.
-- **Mattermost incoming webhooks support full markdown.** A rich range of formatting unavailable in Slack is made possible through [markdown support](../../usage/Markdown.md) in Mattermost, incuding headings, formatted fonts, tables, inline images and other options supported by [Mattermost Markdown].
+- **Mattermost incoming webhooks are Slack-compatible.** If you've used Slack's incoming webhooks to create integrations, you can copy and paste that code to create Mattermost integrations. Mattermost automatically translates Slack's proprietary JSON payload format into markdown to render in Mattermost messages.
+- **Mattermost incoming webhooks support full markdown.** A rich range of formatting unavailable in Slack is made possible through [markdown support](../../usage/Markdown.md) in Mattermost, including headings, formatted fonts, tables, inline images and other options supported by [Mattermost Markdown].
_Example:_
@@ -63,7 +63,7 @@ curl -i -X POST -d 'payload={"text": "Hello, this is some text."}' http://yourma
3. Build your integration in the programming language of your choice
1. Most integrations will be used to translate some sort of output from another system to an appropriately formatted input that will be passed into the Mattermost webhook URL. For example, an integration could take events generated by [GitLab outgoing webhooks](http://doc.gitlab.com/ee/web_hooks/web_hooks.html) and parse them into a JSON body to post into Mattermost.
1. To get the message posted into Mattermost, your integration will need to create an HTTP POST request that will submit to the incoming webhook URL you created before. The body of the request must have a `payload` that contains a JSON object that specifies a `text` parameter. For example, `payload={"text": "Hello, this is some text."}` is a valid body for a request.
- 2. Setup your integration running on Heroku, an AWS server or a server of your own to start sending real time updates to Mattermost channels and private groups.
+ 2. Set up your integration running on Heroku, an AWS server or a server of your own to start sending real time updates to Mattermost channels and private groups.
Additional Notes: