title: ionic XHR failed loading: POST
body: <p>I'm getting this error:</p>
  
  <pre><code>XMLHttpRequest cannot load http://localhost/authproject/public/api/auth/login. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8101' is therefore not allowed access.
  ionic.bundle.js:15567 XHR failed loading: POST 
  </code></pre>
  
  <p>Could someone tell me how do I solve this ? </p>