title: How to use fastify to send multiple URL parameters?
body: <p>I have declared route using fastify as follows:</p>
  <pre><code>const apiService = require('./apiService');
  
  try {
      server.get('/api/status/*', apiService);
  } catch (err) {
      console.log(err);
      process.exit(1);
  }
  </code></pre>
  <p>My api service is defined as follows:</p>
  <pre class="lang-js prettyprint-override"><code>async function entryFunc(request, response) {
      try {
          console.log(&quot;Params are &quot;);
          console.log(request.params);
      } catch (err) {
          console.log(err);
      }
  }
  </code></pre>
  <p>I am getting following output when calling api <code>http://localhost:3002/api/status/1/2</code>:</p>
  <pre><code>Params are:
  { '*': '1/2' }
  </code></pre>
  <p>The url can have <code>infinite number of parth params</code> and that is why I am using <code>wildcard</code> in my route</p>
  <p>I want to modify <code>entryFunc(request, response)</code> such that the values <code>1</code> and <code>2</code> are stored in an array and when I print <code>array[0]</code> I should get value as <code>1</code></p>