# HG changeset patch # User Kim Alvefur # Date 1577686906 -3600 # Node ID cfa00eea896f37a02fc00e0e4031e0394fd39dea # Parent a1f1f703d604c6f74c27b31e8598e5b8f1a17009 mod_rest: Add some text about the payload format diff -r a1f1f703d604 -r cfa00eea896f mod_rest/README.markdown --- a/mod_rest/README.markdown Mon Dec 30 05:19:23 2019 +0100 +++ b/mod_rest/README.markdown Mon Dec 30 07:21:46 2019 +0100 @@ -97,6 +97,18 @@ ``` +## Payload format + +``` {.xml} + +... + +``` + +An XML declaration (``) **MUST NOT** be included. + +The payload MUST contain one (1) `message`, `presence` or `iq` stanza. + # Compatibility Requires Prosody trunk / 0.12