Jonas Ådahl
Jonas Ådahl
You build it, then place the .beam files where ejabberd can find them. Then you configure ejabberd according to the README file. Note this only works for ejabberd 2.x so...
There shouldn't be any difference I suppose, but I have never tried.
The master branch of mod_restful is currently being ported to ejabberd 13.*. However you can still build by checking out the most recent release from the 0.1.x series which currently...
I see three options: Either you create new request types to mod_restful_register (for example "force_change_password" and "force_remove_account") which handles changes when the old password is not known Or you add...
First, you need to find out what version of ejabberd you are running. If its the ejabberd Community Edition then you should just be able to run "make" and copy...
You can probably use the "admin" API in some way to do it, as it just runs the admin commands. Otherwise if you want to design an API, mod_restful is...
You need to provide a valid hostname via the HTTP request. 173.39.250.116 is the hostname you provide in your request, but I'm guessing this is not a hostname you have...
What does this has to do with mod_restful?
Looks like you get the error "bad request" which here seems to mean the content type of the post request is not "application/json".
Either you list all possible commands in the configuration, or you need to add a separate option like "allow_all" and modify mod_restful_admin.erl to deal with that option.