Answer the question
In order to leave comments, you need to log in
Calling another route?
Is it possible, when processing one route, to make a request from it to another? For example:
route.get('/search/:query', function(req, res) {
//POST запрос к другому роуту тут и работа с его ответом
})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question