title: How to access URL segment(s) in ExpressJS
body: <p>So let's say we have the following url:</p>
  
  <pre><code>http://example.com/shops/map/search
  </code></pre>
  
  <p>I want to access the second segment (map) and check its value.
  How can I achieve this in Express? Thanks in advance!</p>