title: How to parse querystring parameter from URL in Fastify server?
body: <p>I am a totally new to fastify but I have a fastify server running. I want to parse query string such as:</p>
  
  <pre><code>http://fake.com/?user=123&amp;name=ali
  </code></pre>
  
  <p>I want to get "user" and "name" values from the URL above. My current code is like this:</p>
  
  <pre><code>fastify.route({
    method: 'GET',
    url: '/',
    handler: async (request, reply) =&gt; getCompanyUsers(request, reply, services)
  });
  </code></pre>
  
  <p>I want to get values of "user" and "name" and then pass the values to getCompanyUsers function.</p>
  
  <p>Any help is appreciated.</p>
  
  <p>Thanks</p>