This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
I'm trying to create an extension which makes an external API POST call.First I tried to make a simple fetch call, but it is failing due to CORS policy:const response = await fetch('https://api.example.com/data', {
method: 'POST',
headers: {
...