title: express req.headers, how to get method (get or post)
body: <p>I am using node and express, and working on a function for app.use(). It needs to know whether the request is a GET or a POST. </p>
  
  <p>Looking at req.headers, there doesn't seem to be a property for method. </p>
  
  <p>How get I get whether it is a GET or a POST.</p>