Also getting CORS errors with persons with significant control endpoint.
fetch("https://api.companieshouse.gov.uk/company/10993724/persons-with-significant-control", {
"headers": {
"authorization": "Basic API_KEY",
},
"referrer": "https://b2bfinance.com/",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": null,
"method": "GET",
"mode": "cors",
"credentials": "include"
});
Curl works as expected.