Changeset

5122:25f39ceccbca

mod_rest/README: Fix XML well-formedness in example (thanks drsnuggles)
author Kim Alvefur <zash@zash.se>
date Sat, 31 Dec 2022 15:32:25 +0100
parents 5121:dd2c45d05f73
children 5123:09dd378748b8
files mod_rest/README.markdown
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_rest/README.markdown	Fri Dec 30 01:17:05 2022 +0100
+++ b/mod_rest/README.markdown	Sat Dec 31 15:32:25 2022 +0100
@@ -54,7 +54,7 @@
     -H 'Content-Type: application/xmpp+xml' \
     --data-binary '<message type="chat" to="user@example.org">
             <body>Hello!</body>
-        </body>'
+        </message>'
 ```
 
 or a JSON payload: