Install ejabberd-mod-rest by entering the following commands in the terminal:
sudo apt update sudo apt install ejabberd-mod-rest
Description:
HTTP interface to POST arbitrary stanzas to ejabberd
This is an ejabberd module that adds an HTTP handler that allows HTTP clients to literally post arbitrary message stanzas to ejabberd. Those stanzas then get shoved through ejabberd's router just like any other stanza. . This module can also be used as a frontend to execute ejabberd commands.
Homepage: https://github.com/processone/ejabberd-contrib
Version: 0.2018.01.12~dfsg0-1
Section: universe/net