annotate mod_post_msg.wiki @ 444:b2ebc4473c4c

mod_mam: Add note about storage config example
author Kim Alvefur <zash@zash.se>
date Tue, 25 Mar 2014 21:28:24 +0100
parents efb2f5f8317c
children 528721aaea46
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
154
481b89e8007f Minor summary fix.
xdersd
parents: 153
diff changeset
1 #summary Receives HTTP POST request, parses it and relays it into XMPP.
153
1b51195895b2 Some useful information. Forgotten page.
xdersd
parents:
diff changeset
2
1b51195895b2 Some useful information. Forgotten page.
xdersd
parents:
diff changeset
3 = Introduction =
1b51195895b2 Some useful information. Forgotten page.
xdersd
parents:
diff changeset
4
1b51195895b2 Some useful information. Forgotten page.
xdersd
parents:
diff changeset
5 Sometimes it's useful to have different interfaces to access XMPP.
1b51195895b2 Some useful information. Forgotten page.
xdersd
parents:
diff changeset
6
1b51195895b2 Some useful information. Forgotten page.
xdersd
parents:
diff changeset
7 This is example of sending message using HTTP POST to XMPP. For sure we need user auth information.
1b51195895b2 Some useful information. Forgotten page.
xdersd
parents:
diff changeset
8
1b51195895b2 Some useful information. Forgotten page.
xdersd
parents:
diff changeset
9 = Example usage =
1b51195895b2 Some useful information. Forgotten page.
xdersd
parents:
diff changeset
10
366
efb2f5f8317c mod_post_msg.wiki: Add Content-Type header to example
Kim Alvefur <zash@zash.se>
parents: 154
diff changeset
11 * curl http://example.com:5280/msg/user -u me@example.com:mypassword -H "Content-Type: text/plain" -d "Server@host has just crashed!"
153
1b51195895b2 Some useful information. Forgotten page.
xdersd
parents:
diff changeset
12
1b51195895b2 Some useful information. Forgotten page.
xdersd
parents:
diff changeset
13 This would send a message to user@example.com from me@example.com
1b51195895b2 Some useful information. Forgotten page.
xdersd
parents:
diff changeset
14
1b51195895b2 Some useful information. Forgotten page.
xdersd
parents:
diff changeset
15 = Details =
1b51195895b2 Some useful information. Forgotten page.
xdersd
parents:
diff changeset
16
1b51195895b2 Some useful information. Forgotten page.
xdersd
parents:
diff changeset
17 By Kim Alvefur <zash@zash.se>
1b51195895b2 Some useful information. Forgotten page.
xdersd
parents:
diff changeset
18
1b51195895b2 Some useful information. Forgotten page.
xdersd
parents:
diff changeset
19 Some code borrowed from mod_webpresence
1b51195895b2 Some useful information. Forgotten page.
xdersd
parents:
diff changeset
20
366
efb2f5f8317c mod_post_msg.wiki: Add Content-Type header to example
Kim Alvefur <zash@zash.se>
parents: 154
diff changeset
21