title: API Query (curl vs axios)
body: <p>I have a URL, that when using the following curl, I recieve the response as an array of objects,</p>
  <pre><code>curl --location --request GET &quot;https://test.com&quot;
  </code></pre>
  <p>But using axios, I get an empty array. The response.request.responseURL is same as the original url. So I am not sure if there any redirects</p>
  <pre><code>const options = {
    headers: {
      'Content-Type': 'application/json',
      Accept: 'application/json',
    },
  };
  
  const res = await axios(&quot;https://test.com&quot;, options);
  console.log(res.data);
  </code></pre>
  <p>Any thoughts how to get the response using Axios?</p>