CORS Error from React Application

SYSTEM INFORMATION
OS type and version REQUIRED
Webmin version REQUIRED
Virtualmin version REQUIRED
Related packages SUGGESTED
Webmin version 2.101
Virtualmin version 7.8.2

CORS Error

API unable to connect how Can i resolve this

I don’t understand what this has to do with Virtualmin. There is no React in Virtualmin.

Unable to Access API , CORS ERROR

The API works well with Postman but when using other gets cors error

By implementing CORS correctly in NodeJs (the source of your React Application)
as Joe has said this has nothing to do with Virtualmin. It is the way your requests are being made to the API. check the options you are calling https://github.com/expressjs/cors#readme

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.