Answers for "avoid https error en chrome"

1

bypass certificate error chrome

"C:Program Files (x86)GoogleChromeApplicationchrome.exe" --ignore-certificate-errors
Posted by: Guest on October-22-2020
0

How to ignore SSL issues

// At instance level
const instance = axios.create({
  httpsAgent: new https.Agent({  
    rejectUnauthorized: false
  })
});
instance.get('https://something.com/foo');

// At request level
const agent = new https.Agent({  
  rejectUnauthorized: false
});
axios.get('https://something.com/foo', { httpsAgent: agent });
Posted by: Guest on November-09-2020

Browse Popular Code Answers by Language