CORS Redirect is not allowed for a preflight request

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

check with this link. that could an issue with the server-side as well. make sure your server accepts the cross-origin and configured.

after uninstall Webview84.0.4147.89, the httpclient request work fine.

Reinstall Webview84.0.4147.89 …the problem come again :frowning:

the backend already CORS enable with

//allow OPTIONS on all resources
app.use(cors())
app.options('*', cors())

I am having the same issue. Any news on that?