It is working on postman, but when I am trying to post through axios in reactjs it is showing this CORS error
"Access to XMLHttpRequest at 'api url' from origin 'localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status."
"Access to XMLHttpRequest at 'api url' from origin 'localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status."