Diff

mod_rest/README.markdown @ 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
parent 4935:a85efae90e21
child 5123:09dd378748b8
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: