Mercurial > prosody-modules
diff mod_pubsub_post/README.markdown @ 3505:106b4ae4469b
mod_pubsub_post/README: Mention use as a webhook receiver
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 30 Mar 2019 23:33:58 +0100 |
parents | 882180b459a0 |
children | 7b1eede1a840 |
line wrap: on
line diff
--- a/mod_pubsub_post/README.markdown Sat Mar 30 21:34:28 2019 +0100 +++ b/mod_pubsub_post/README.markdown Sat Mar 30 23:33:58 2019 +0100 @@ -1,8 +1,13 @@ +--- +summary: Publish to PubSub nodes from via HTTP POST/WebHooks +--- + # Introduction -Lets you easily publish data to PubSub using a HTTP POST request. The -payload can be Atom feeds, arbitrary XML, or arbitrary JSON. The type -should be indicated via the `Content-Type` header. +This module is a fairly generic WebHook receiver that lets you easily +publish data to PubSub using a HTTP POST request. The payload can be +Atom feeds, arbitrary XML, or arbitrary JSON. The type should be +indicated via the `Content-Type` header. ``` {.bash} curl http://localhost:5280/pubsub_post/princely_musings \