Mercurial > prosody-modules
view mod_smacks_offline/mod_smacks_offline.lua @ 4478:7ab0c423688a
mod_rest: Support GET for certain IQ queries
Example:
GET /rest/version/example.com
200 OK
{ version: { name: "thing", version: "1.0.0" } }
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 28 Feb 2021 19:33:09 +0100 |
parents | a3693e0d26b8 |
children |
line wrap: on
line source
-- this module is deprecated, log an error and load the superseding module instead module:depends"smacks" module:log("error", "mod_smacks_offline is deprecated! Just use mod_smacks!");