title: Firestore Cloud Function - How to read params from url
body: <p>I need to extract the params from http url in firestore cloud function,<br>
  HTTP URL</p>
  
  <pre><code> https://us-central-xxxxxxxxxxx.cloudfunctions.net/somefunction?name=ABC&amp;age=80
  </code></pre>
  
  <p>Firestore Cloud function</p>
  
  <pre><code>export const somefunction = functions.https.onRequest(async (request, response) =&gt; {
    var name = // need to extract name from request
    var age = // similarly need to extract age from request
  }
  </code></pre>
  
  <p>Can anyone help me out with this ?</p>