Skip to content
Advertisement

Tag: cloudflare

Cloudflare workers CORS ignored

I created a SendGrid form using CF Workers and set (for testing) Access-Control-Allow-Origin”, ‘*’ but it’s being ignored on the frontend: Do I need to also add it to the AXIOS POST request? Here’s code from my workers file: And here’s the AXIOS request: It all works fine using Insomnia and the headers are visible there: Answer You’ve correctly set

Advertisement