title: Query parameters of the get URL using aiohttp from python3.5
body: <pre><code>async def method(request):
      ## here how to get query parameters
      param1 = request.rel_url.query['name']
      param2 = request.rel_url.query['age']
      return web.Response(text=str(result))
  
  
  if __name__ == '__main__':
      app = web.Application()
      app.router.add_route('GET', "/sample", method)    
  
      web.run_app(app,host='localhost', port=3000)
  </code></pre>
  
  <p>The above code is running in python 3.6. I need to extract the query parameter values (xyz &amp; xy) from the sample URL <code>http://localhost.com/sample?name=xyz&amp;age=xy</code>. I Tried with <code>req.rel_url.query</code> and also with <code>request.query_string</code>. It was giving only the first parameter value xyz, but I was not getting xy (age) which was the second parameter in the query.</p>
  
  <p>How can I get both the query values?</p>