Mercurial > prosody-modules
view mod_http_status/README.md @ 5636:b3484a112300
mod_rest/rest.sh: Update to use httpie-oauth2 plugin
This bash implementation of OAuth2/OIDC was growing to the point where
it needed a massive refactor, which made me look into alternatives where
I finally settled on implementing oauth2 in a plugin for HTTPie.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 26 Aug 2023 14:37:04 +0200 |
| parents | 6af2d74daa15 |
| children | e274431bf4ce |
line wrap: on
line source
Prosody 0.12 added an API allowing modules to report their status. This module allows reading these statuses via HTTP for use in monitoring. ``` $ curl http://prosody.localhost:5280/status { "example.com" : { "c2s" : { "message" : "Loaded", "type" : "core" } } } ```
