view @ 366:efb2f5f8317c Add Content-Type header to example
author Kim Alvefur <>
date Fri, 28 Jun 2013 17:24:36 +0200
parents 481b89e8007f
children 528721aaea46
line wrap: on
line source

#summary Receives HTTP POST request, parses it and relays it into XMPP.

= Introduction =

Sometimes it's useful to have different interfaces to access XMPP.

This is example of sending message using HTTP POST to XMPP. For sure we need user auth information.

= Example usage =

* curl -u -H "Content-Type: text/plain" -d "Server@host has just crashed!"

This would send a message to from

= Details =

By Kim Alvefur <>

Some code borrowed from mod_webpresence