Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

how to communicate to middleware.js #10

Open
ashishg-dev opened this issue Apr 6, 2019 · 0 comments
Open

how to communicate to middleware.js #10

ashishg-dev opened this issue Apr 6, 2019 · 0 comments

Comments

@ashishg-dev
Copy link

Hi Sir/Madam,
I'm new to js and new your help.
I have created one api in node say (http://localhost:4001/askbot) and a chat UI on Android Mobile app, Allowing the mobile app to connect to the same api.
when mobile app hit api, then my server.js receive the request but unable to connect to middleware.js.
How do I send request parameter (user message) say "Petrol price for today" to middleware.js and also handle the event with controller.hears()...
Please help me to solve this problem.
Thanks in advance

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant