title: Enable CORS while an XMLHttpRequest error occurs in flutter web
body: <p>when I will add data to the database using the function, and on the server I have added <code>Access-Control-Allow-Origin</code> so that it is not blocked by CORS, but still error when I looked in the browser console tools tab console</p>
  
  <pre><code>Access to XMLHttpRequest at 'https://int.goo.id/api/pg/sso.register' from origin 'http://127.0.0.1:8080' 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.
  </code></pre>
  
  <p>how to deactivate CORS??</p>