Как получить доступ к параметрам получить? в экспресс
GET /something?color1=red&color2=blue
app.get('/something', (req, res) => {
req.query.color1 === 'red' // true
req.query.color2 === 'blue' // true
})
req.params refers to items with a ':' in the URL and req.query refers to items associated with the '?
Batman