Axios and Fetch both result in CORS error but Postman doesn't
问题 If I make a ajax request using either Axios or Fetch to this public endpoint: http://api.flickr.com/services/feeds/photos_public.gne?format=json I get the following error: Access to fetch at 'http://api.flickr.com/services/feeds/photos_public.gne?format=json' 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