I'm passing the Google rechapta token in the Header, and CORS is giving an error.
has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
What do I need to enable in CORS?
a
asad.awadia
09/24/2020, 2:08 PM
your backend API needs to enable cors for your domain - this could mean allowing cors for localhost/domain in your backend - or adding some whitelist in the google console probably