title: Getting Request failed with status code 403 with axios get
body: <p>I have setup my axios like this: </p>
  
  <pre class="lang-js prettyprint-override"><code>    const agent = new https.Agent({
          rejectUnauthorized: false
      });
  </code></pre>
  
  <p>and sending a get call like this:</p>
  
  <pre><code>    let data = await axios.get('https://www.skechers.com/en-us/', {
          httpsAgent: agent
       });
  </code></pre>
  
  <p>but with some urls my request fails with this error:</p>
  
  <p><strong>Request failed with status code 403</strong></p>
  
  <p>what would be the possible reason to cause this error. I have tried setting up headers as follow but still getting the error</p>
  
  <pre class="lang-js prettyprint-override"><code>    let data = await axios.get(url, {
        httpsAgent: agent,
        headers: {
            'Access-Control-Allow-Origin': '*',
            'Access-Control-Allow-Methods': '*'
        }
      });
  </code></pre>