Jak uzyskać dostęp do parametrów GET po? w Express
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