title: Axios get method having network error and Cors policy with status code 200
body: <p>When I call  axios get always goes directly to the catch block displaying a network error in the console, Access to XMLHttpRequest at '<a href="http://13.234.115.246/customers_log.php" rel="nofollow noreferrer">http://13.234.115.246/customers_log.php</a>' from origin '<a href="http://localhost:8080" rel="nofollow noreferrer">http://localhost:8080</a>' has been blocked by CORS policy: Request header field access-control-allow-origin is not allowed by Access-Control-Allow-Headers in preflight response.</p>
  
  <p>but the status code is 200</p>
  
  <p>Request URL: <a href="http://13.234.115.246/customers_log.php" rel="nofollow noreferrer">http://13.234.115.246/customers_log.php</a>
  Request Method: OPTIONS
  Status Code: 200 OK
  Remote Address: 13.234.115.246:80
  Referrer Policy: no-referrer-when-downgrade</p>
  
  <p>how to slove this problem</p>