if there is a - in the header how to get the value express code example
Example: http header express
app.get('/', (req, res) => {
req.header('User-Agent')
})
// Use the Request.header() method to access
//one individual request header’s value
app.get('/', (req, res) => {
req.header('User-Agent')
})
// Use the Request.header() method to access
//one individual request header’s value