Skip to content

Harium/sunbot-http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sunbot-http

Plugin to turn your Suneidesis Chatbot into a HTTP server

Maven Central

How to use it

    Parser bot = new EchoBox(); // Use your own box

    SunbotHttp http = new SunbotHttp();
    http.port(11883);
    http.addBox(bot);
    http.init();

Sending messages

You can use the Sunbot HTTP Client or any other HTTP tool:

Curl

curl -XPOST -d '{"message":"Hello World!"}' localhost:11883

About

Plugin to turn your Suneidesis Chatbot into a HTTP server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages