Did anyone try to fetch Hyperskill API with with w...
# javascript
b
Did anyone try to fetch Hyperskill API with with window.fetch? I've tried several cases like 'Access-Control-Allow-Origin': '*' header, but I'm still getting:
cess to fetch at '<https://hyperskill.org/api/users/243767975>' from origin '<http://localhost:8080>' 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. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.