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

how to communicate to middleware.js  #10

@ashishg-dev

Description

@ashishg-dev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions