title: get method with colon and question mark in server path
body: <p>Follow up question: What is the code "res.json(false);" doing? Doesn't that print out false on the page instead of showing the data I want?</p>
  
  <p>I'm looking at the following sample code. I understand that <code>.get(</code> is the method and <code>/:characters?</code> is the server path. In this search, what is the point of the colon and the question mark in the path? Shouldn't the question mark come before characters because it is a query?</p>
  
  <pre><code>app.get('/:characters?', function (req, res) {
      var chosen = req.params.characters;
  
      if (chosen) {
          console.log(chosen);
  
          for (var i = 0; i &lt; characters.length; i++) {
              if (chosen === characters[i].routeName) {
                  res.json(characters[i]);
                  return;
              }
          }
  
          res.json(false);
      } else {
          res.json(characters);
      }
  });
  </code></pre>