how to get the header of a req in nodejs code example Example: hwo to cehck req header in js var host = req.headers['host'];