Access to XMLHttpRequest at ‘http://abcd.com:5599/api/rpt_profit?fromDate=2020-07-21&toDate=2020-07-28’ from origin ‘http://localhost’ has been blocked by CORS policy:
Response to preflight request doesn’t pass access control check:
Redirect is not allowed for a preflight request
The problem occur after upgate to latest android webview 84.0.4147.89 14/7/2020
Request headers:
Accept: application/json, text/plain, /
Access-Control-Allow-Origin: *
Content-Type: application/json
Referer: http://localhost/home
User-Agent: Mozilla/5.0 (Linux; Android 10; RMX1931 Build/QKQ1.191021.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/84.0.4147.89 Mobile Safari/537.36
Need help please