当进行Axios调用从s3桶检索图像时,它使用OPTIONS方法创建一个飞行前检查。Options方法响应包括带有通配符的Access-Controll-Allow-Origin: *头,但是后续的GET调用无法检索图像。to XMLHttpRequest at 'https://example.com' from origin 'http://localhost:3000' has bee
我正在尝试从localhost访问Deezer API,但是我一直收到以下错误:
Fetch API cannot load http://api.deezer.com/search/track/autocompleteIf an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource withCORS</e