API queries in Nodejs/Express
<p>why doesn't this work? </p>

<pre><code>/search?name=:name
</code></pre>

<p>but this works :</p>

<pre><code>/search/name=:name
</code></pre>

<p>how to make the former work with the <code>?</code> (Question mark)</p>