let group_id = "gruopid";
let v = '5.120'
let url = 'https://api.vk.com/method/groups.getById?access_token=myAccsessKey' + '&v=' + v + '&group_id=' + group_id + '&fields=description,has_photo' //And more fields
fetch(url).then(result=>{
console.log(result.json())
})
При отправке такова запроса получаю вот такую ошибку
Access to fetch at 'https://vk.com/' (redirected from 'http://vk.com/') from origin 'http://localhost:3000' has been blocked by CORS policy: 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.
Как решить?