Hello.. I am testing a local flutter App via API, But i got this error response :
Access to XMLHttpRequest at 'https://mysite.com/project/api/posts/list' from origin 'http://localhost:62867' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
Am try to allow the site 'localhost' to the origin control to the API response like :
how i can to add the local site to Access-Control-Allow-Origin ?