I want to send data to ejabberd server using my own custom REST API. Just like ejabberd REST APIs /api/send_message. Is it possible? Or can I call my custom module directly with using hooks?
Can I create custom REST API on ejabberd?
159 Views Asked by FaaiqKhan At
1
There are 1 best solutions below
Related Questions in EJABBERD
- Unable start mongoose im in ubuntu. process crashes
- Sending messages to ejabberd doesn't work for me
- Server less Group Messaging (chating) Xmpp
- ejabberd block messages from users that don't stay in my friend list
- Allow ejabberd_service (Jabber Component Protocol) to modify user's roster
- oauth2 authentication support in ejabberd
- Facing badmatch keyfile error while fetching APNS Socket
- Share profile picture change to all users in my roster
- Connection attempt from disallowed node 'ejabberdctl-1@localhost'
- XMPP support for avatars in multi-user chat
- All languages except English literals parsed in GCM POST request
- Parsing ASCII characters with Erlang
- Trouble installing ejabberd on ubuntu
- mod_rest on ejabberd 15.0.4 on MAC OS X yosemite is not starting
- How does whatsapp Keeps its eJabberd/XMPP server connected when the app is Closed?
Related Questions in EJABBERD-MODULE
- Ejabberd offline messages
- How to create groups like whatsapp with ejabberd?
- Ejabberd 16.09 Muc Discovery
- Configure ejabberd with Mysql , Error p1_mysql.app not found
- ejabberd mod_bosh is not started
- install & configure mod_offline_post in ejabberd 20.07 version
- Is there any method available to check element in xml before accessing it in erlang?
- Send offline Message Notification to HTTP URL from eJabberd
- Parsing ejabberd packet with erlang
- Failed to process custom iq on ejabberd-18-06
- Module to handle custom iq stanzas does not work with ejabberd-18.09
- Ejabberd Message delivery while application is terminated
- Can I create custom REST API on ejabberd?
- Cannot install any ejabberd contrib module
- It is possible to send message from ejabberd server manually?
Related Questions in EJABBERD-API
- How to create groups like whatsapp with ejabberd?
- ejabberd add_rosteritem process_rosteritems
- re-invite outcast user from room
- ejabberd add_channel API for MIX
- Ejabberd: How to get list of muc_rooms / disco_items via API for which user is affiliated to?
- Can I create custom REST API on ejabberd?
- How to directly add user to muc room in ejabberd
- How can i get user avatar using api in ejabbred?
- Register new user in ejabberd with REST API
- Message not received when sent through send_message endpoint of Ejabberd Api if the receiver user was offline
- Delete all users from ejabberd server using a script
- Message is being sent with "send_message" in ejabberd using postman but not received by client
- Ejabberd api using subscribe room
- How does handshaking takes pace in ejabberd server
- ejabberd rest API without authentication, 403 Forbidden (error code 32)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
send_messageis implemented inmod_admin_extra.erlYou can:
A) Edit the source code of that command, so your custom send_message code will do what you want.
B) Or copy the code of that command in that file, and add a new command called send_message_faaiq in that file that will do what you want.
C) Or you can create your own module, mod_faaiq.erl, copy that code, and change it to suit your needs.