"has been blocked by CORS policy" error when using API in local run test

Database & APIs

I notice this problem when I use local debugging of my application, the same does not occur if the application is run with debug on the flutter flow server.


complete error =

Access to XMLHttpRequest at 'mydomain/rote/all' from origin 'http://localhost:57201' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

What have you tried so far?
Did you check FlutterFlow's Documentation for this topic?
No
4 replies