How to read the header of a request in node js code example Example: hwo to cehck req header in js var host = req.headers['host'];