RESTful interface to ejabberd