I got such an error.
How to fix it ?
Access to XMLHttpRequest at ‘https://json-storage-api.p.rapidapi.com/datalake’ from origin ‘null’ has been blocked by CORS policy: The value of the ‘Access-Control-Allow-Origin’ header in the response must not be the wildcard ‘*’ when the request’s credentials mode is ‘include’. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
Aşağıya yorum ekleyerek tartışmaya katılın:
I’m trying to send request from local pc