title: Boolean params in Axios get request automatically getting converted to string in server side
body: <p>I have a json object which I'm passing as params to axios get api. This is the Json object</p>
  <pre><code>obj = {
    name: &quot;device&quot;
    value: true,
  }
  </code></pre>
  <p>And I'm calling the axios get request with the above object like this -</p>
  <pre><code>  tableFilter = (obj) =&gt; {
      console.log(typeof obj.value);
      axios
        .get(&quot;http://localhost:3200/getFilter/&quot;, { params: obj })
        .then((res) =&gt; {
          console.log(res.data);
        });
    };
  </code></pre>
  <p>In the above code the type of 'obj.value' shows as 'boolean' in console. Now I handle this request in server side like this-</p>
  <pre><code>Router.get(&quot;/getFilter&quot;, async (req, res) =&gt; {
    console.log(typeof req.query.value);
        dbase.collection(&quot;employee&quot;).find(
            { [req.query.filter]: req.query.value },
            { projection: { _id: 0 } })
          .toArray().then((result) =&gt; {
            console.log(result);
          });
    }
  });
  </code></pre>
  <p>'Router' is the express router object and 'dbase' is the mongoclient object of my database(They don't matter to my question). In the above code if I console the object 'value' key it shows type as &quot;String&quot;. Why is the boolean automatically getting converted to String?
  I need to query mongodb documents based on the field &quot;device: true&quot; So I need boolean value not string.</p>