equal
deleted
inserted
replaced
52 curl https://prosody.example:5281/rest \ |
52 curl https://prosody.example:5281/rest \ |
53 --user username \ |
53 --user username \ |
54 -H 'Content-Type: application/xmpp+xml' \ |
54 -H 'Content-Type: application/xmpp+xml' \ |
55 --data-binary '<message type="chat" to="user@example.org"> |
55 --data-binary '<message type="chat" to="user@example.org"> |
56 <body>Hello!</body> |
56 <body>Hello!</body> |
57 </body>' |
57 </message>' |
58 ``` |
58 ``` |
59 |
59 |
60 or a JSON payload: |
60 or a JSON payload: |
61 |
61 |
62 ``` {.sh} |
62 ``` {.sh} |