title: Axios get request getting cors issue
body: <p>i'm trying to get some data from some endpoint. </p>
  
  <p>I can't share the url of endpoint here but problem with cors. </p>
  
  <p>when i'm using postman everything is ok. </p>
  
  <p>But when make get request from my react app via axios i'm getting this error:</p>
  
  <pre><code>Refused to set unsafe header "origin"
  Access to XMLHttpRequest at 'http://some.com/products.json' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
  </code></pre>
  
  <p>here is my request:</p>
  
  <pre><code>const baseUrl = "http://some.com/products.json"
  const axiosConfig = {
    withCredentials: true,
    headers: {
      Accept: "application/json",
      "Content-Type": "application/json",
    }
  };
  
        axios
        .get(baseUrl, axiosConfig)
        .then(response =&gt; {
          console.log(response);
        })
        .catch(error =&gt; {
          console.log(error)
        });
  </code></pre>
  
  <p>i tried many things but i can't figure out with this. </p>