title: Next js - How to pass multiple parameters in url for api?
body: <p>I am able to pass one parameter and get results from next js api</p>
  <p>The docs are very helpful - <a href="https://nextjs.org/docs/api-routes/dynamic-api-routes" rel="noreferrer">https://nextjs.org/docs/api-routes/dynamic-api-routes</a></p>
  <pre><code>/api/posts/[postId].js
  </code></pre>
  <p>The above works but is there an option to pass another parameter like below?</p>
  <pre><code>/api/posts/[postId][userId].js
  </code></pre>
  <p>The folder name is currently [postId]. I tried renaming it to [postId][userId]</p>
  <p>My code for api is</p>
  <pre><code>  let postVotes = await req.db.collection('votesPosts').count({&quot;post&quot;:req.query.postId,&quot;user&quot;:req.query.userId})
  </code></pre>