This page last changed on Jan 07, 2005 by gbevin.

You can connect to the remote messaging interface through the following url:
http://localhost:8080/message

You need to adapt this of course if you run it from your existing servlet container or if you modified the Jetty configuration files of the standalone distribution.

Log in with the credentials of a user that has the remote role. If you haven't modified the users permissions, the login will be:

drone

and the password:
password

You'll be presented with the following interface.

You first have to select which bot this message will have to be posted with.

The target is either a nickname or a channel, channels are prefixed with a hash (#) character.

You're free to enter any message you like.

 

 

Since most people will use this feature in an automated fashion to for example post commit messages, it's also possible to access the interface through a REST API that provides everything in a single URL. The syntax is the following (everything needs to be on one line and without spaces):

http://localhost:8080/message?
    submission=credentials&
    login=yourlogin&
    password=yourpass&
    submission=sendMessage&
    bot=yourbot&
    target=%23channel&
    message=yourmessage

If your message is long, it's probably best to submit the parameters through a POST request. The parameters are exactly the same.


remote.png (image/png)
Document generated by Confluence on Feb 15, 2005 12:31