Mercurial > prosody-modules
view mod_atom/README.markdown @ 4921:bdac7c717c91
mod_rest: Support parameters in callback URL
E.g.
rest_callback_url = "http://myapi.example:5000/api/{kind}/{type}"
which results in e.g. requests to /api/message/chat
Allows using path routing in web frameworks for dispatch instead of
having to pick apart the payload to further dispatch it.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 09 Apr 2022 00:41:18 +0200 |
parents | f478e325529e |
children |
line wrap: on
line source
# Introduction This module exposes users [microblogging][xep277] on Prosodys built-in HTTP server. # Usage With default HTTP settings, the microblog of `user@example.com` would be seen at `https://example.com:5281/atom/user`. # Configuration The module itself has no options. However it uses the access control mechanisms in PubSub, so users must reconfigure their microblogging node to allow access, by setting `access_model` to `open`. E.g. Gajim has UI for this, look for "Personal Events" → "Configure services".