I have tried to set using the code below
headers: {
‘Content-Type’: ‘application/json’,
‘Access-Control-Allow-Origin’: ’ * ',
‘Access-Control-Request-Headers’: ’ * ',
‘Access-Control-Allow-Methods’:‘GET’
},
But it’s not working. Can you please help?