Mercurial > prosody-modules
view mod_smacks_noerror/mod_smacks_noerror.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 | e7dc25e54d02 |
children |
line wrap: on
line source
-- this module is deprecated, log an error and load the superseding modules instead module:depends"smacks" module:depends"nooffline_noerror" module:log("error", "mod_smacks_noerror is deprecated! Just use mod_smacks and load mod_nooffline_noerror if you explicitly disabled offline storage (mod_offline)");