router.post('/submit', cors(), async (req,res, next) => { const apiKey = req.header('x-api-key'); console.log(apiKey) // THIS GIVES undefined });