Appeal to a different router?

Is it possible when processing a single routes, make it a request to another? For example:
route.get('/search/:query', function(req, res) {
 //POST request to another router here and work with his response
})
July 9th 19 at 10:24
1 answer
July 9th 19 at 10:26
Solution
Print job the router in a separate module, and pull it here and there.

In General, if the need arises, then something somewhere is not thought to be very good.
Why is that? HMVC and it works. - yoshiko.Watsica commented on July 9th 19 at 10:29
: Apparently the standard mechanism of ranting and knows nothing about others ranting. - abigail36 commented on July 9th 19 at 10:32
: Actually, my comment concerned your statement that pull the ranting of the other ranting is a bad design. - yoshiko.Watsica commented on July 9th 19 at 10:35
: I do it like said) - abigail36 commented on July 9th 19 at 10:38
: well, I would say that this is not so for HMVC. - yoshiko.Watsica commented on July 9th 19 at 10:41

Find more questions by tags Express.jsJavaScriptNode.js