title: How to call this get api with sending the body using axios?
body: <p>Hi I can call the the api in the postman like this.</p>
  <p>The data return fine in the postman</p>
  <p><a href="https://i.stack.imgur.com/upf3B.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/upf3B.png" alt="Image" /></a></p>
  <p>But when I try to get the api from the axios request
  the api always give me 500</p>
  <p>What am I doing wrong?</p>
  <pre><code>axios
      .get('/dwapi/productsapi/GetProductList', {
        params: {
          group: 'Baby&amp;Kids',
          subgroup: '',
          subsubgroup: '',
          pagesize: '',
          pagenum: '4',
          minprice: '',
          maxprice: '',
          brand: '',
          size: '',
          promotion: '',
          bhgexclusive: '',
          sortorder: '',
          sortby: '',
          search: '',
        },
      })
      .then(res =&gt; {
        console.log(res);
        // dispatch({
        //    type: FETCH_PRODUCT_LIST,
        //    payload: res.data,
        // });
      })
      .catch(err =&gt; {
        throw err;
      });
  </code></pre>