
Hello, I try to use javascript native to get an API response from societe.com but I should to use and activate the extension name's Moesif Cors to get Data. That is not good and proper for the client. I tried to add header to my function, with no-succes to get the result. Could you help me? Here below my javascript code, I put just the function of the API:
functionsearchSocieteByName(name){
returnfetch(
)
.then((response)=> response.json())
.then((response)=> response.result);
}
then(function(responses){
console.log(responses);
});






