Answer the question
In order to leave comments, you need to log in
Why is query not getting the correct value?
I make a query like:
http://127.0.0.1:3000/additionalitems/advertising/list/query?page=2
additional.get('/advertising/list/:query', function(req, res) {
console.loog(req.query) // Выводит {query: 'query'}
})
page=2
. In other routes it works fine, but here I missed something. Can you tell me where to look?
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