ejabberd - Comments for "RESTful interface to send messages from ejabberd" https://www.ejabberd.im/node/5192 en I tried mod_restful and added https://www.ejabberd.im/node/5192#comment-62097 <p>I tried mod_restful and added </p> <div class="codeblock"><code> {{8088, {127, 0, 0, 1}}, ejabberd_http,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [{request_handlers, [{[&quot;api&quot;], mod_restful}]}]}</code></div> <p>and </p> <div class="codeblock"><code> {mod_restful, [<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {api,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {[&quot;admin&quot;], mod_restful_admin, [<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {key, &quot;secret&quot;},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {allowed_commands, [register, unregister]}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {[&quot;register&quot;], mod_restful_register, [{key, &quot;secret&quot;}]}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]}</code></div> <p>to the ejabberd.cfg file</p> <p>but when i started ejabberd<br /> i get this error</p> <div class="codeblock"><code> error: undef <p>=ERROR REPORT==== 2013-12-05 12:26:50 ===<br />C(&lt;0.36.0&gt;:gen_mod:80) : ejabberd initialization was aborted because a module start failed.</p></code></div> <p>I don't know how to build the mod. can someone help? Do I need to move a file somewhere like with other mods?</p> <p>Best Regards,<br /> Stevenson Lee</p> Thu, 05 Dec 2013 12:31:24 +0000 stevensonlee comment 62097 at https://www.ejabberd.im Does the mod_restful support https://www.ejabberd.im/node/5192#comment-62096 <p>Does the mod_restful support ssl?</p> Thu, 05 Dec 2013 11:41:46 +0000 stevensonlee comment 62096 at https://www.ejabberd.im Take a look at https://www.ejabberd.im/node/5192#comment-58327 <p>Take a look at <a href="http://www.ejabberd.im/mod_restful" title="http://www.ejabberd.im/mod_restful">http://www.ejabberd.im/mod_restful</a></p> Fri, 10 Feb 2012 11:24:13 +0000 jadahl comment 58327 at https://www.ejabberd.im I have created a module that https://www.ejabberd.im/node/5192#comment-58325 <p>I have created a module that provides an extendable RESTful API framework. You can find it on this site here: <a href="http://www.ejabberd.im/mod_restful" title="http://www.ejabberd.im/mod_restful">http://www.ejabberd.im/mod_restful</a></p> <p>Take a look at mod_restful_admin, which might be able to do what you want. Otherwise you can implement your own REST interface using gen_restful_api.</p> Fri, 10 Feb 2012 11:17:48 +0000 jadahl comment 58325 at https://www.ejabberd.im From process-one, I found https://www.ejabberd.im/node/5192#comment-58324 <p>From process-one, I found mod_rest is useful.</p> Fri, 10 Feb 2012 06:35:49 +0000 cao.xu comment 58324 at https://www.ejabberd.im