Mercurial > prosody-modules
changeset 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 | 9ef5b229f73e |
children | 7b1eede1a840 |
files | mod_pubsub_post/README.markdown |
diffstat | 1 files changed, 8 insertions(+), 3 deletions(-) [+] |
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 \