title: Node JS Query request.query is Empty
body: <p>I have a ReactJS front end and I'm making a fetch call to my NodeJS with Express backend to get data returned. I'm deploying the nodejs app to Firebase Cloud Functions. The url I'm using for the fetch request has parameters in but the query appears to be empty in nodejs.</p>
  
  <p>React JS fetch request:</p>
  
  <pre><code>export const nodeJSFetch = async () =&gt; {
      const url =
          'https://project-node-js.firebaseapp.com/users?&amp;userId=j872as3';
  
      try {
          const response = await fetch(proxyURL + url);
          const json = await response.json();
  
          return Promise.resolve(json);
      } catch (error) {
          console.log('Error: ', error);
          return Promise.reject(error);
      }
  };
  </code></pre>
  
  <p>NodeJS with Express Function:</p>
  
  <pre><code>app.get('/users', (request, response) =&gt; {
      const query = request.query;
      const json = { user: query, hello: 'new response' };
      response.json(json);
  });
  
  </code></pre>
  
  <p>When I run the Node JS locally and access the url with <code>http://localhost:5000/users?&amp;userId=j872as3</code> I get the following JSON returned:</p>
  
  <pre><code>{ 
     "user":{ 
        "userId":"j872as3"
     },
     "hello":"new response"
  }
  </code></pre>
  
  <p>When I get the JSON back from the fetch I get any empty query/user:</p>
  
  <pre><code>{ 
     "user":{},
     "hello":"new response"
  }
  </code></pre>
  
  <p>I'm just wondering what I'm missing here and why the query appears to be empty. Thanks</p>