Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

CORS error

CORS error

ijaspreetsinghh
Visitor
2 0 0

CORS exception while calling API from flutter web.

Access to XMLHttpRequest at '*api_endpoint*' from origin '*any_origin*' has been blocked by CORS policy:

Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource

Replies 0 (0)