Mercurial > prosody-wiki
changeset 366:efb2f5f8317c
mod_post_msg.wiki: Add Content-Type header to example
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 28 Jun 2013 17:24:36 +0200 |
parents | 2454dbf940a8 |
children | 11b391eb1a2a |
files | mod_post_msg.wiki |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_post_msg.wiki Fri Jun 28 17:23:18 2013 +0200 +++ b/mod_post_msg.wiki Fri Jun 28 17:24:36 2013 +0200 @@ -8,7 +8,7 @@ = Example usage = -* curl http://example.com:5280/msg/user -u me@example.com:mypassword -d "Server@host has just crashed!" +* curl http://example.com:5280/msg/user -u me@example.com:mypassword -H "Content-Type: text/plain" -d "Server@host has just crashed!" This would send a message to user@example.com from me@example.com @@ -18,4 +18,4 @@ Some code borrowed from mod_webpresence - \ No newline at end of file +