to fetch at 'http://newsapi.org/v2/top-headlines?country=us&apiKey=30c7f43b252741f2b6b6b7d12b486cea' from origin 'http://127.0.0.1:5500' 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.
Попробовал с localhost:3000 GET сделать. Норм ответ пришел
Обсуждают сегодня