How to get Request Origin in Express.js?

This article will show you how to get a request Origin and request host in express.js.