我正在尝试列出 cloudinary 中的文件夹,这就是我所做的:
我试过了,它不起作用:
fetch('https://api.cloudinary.com/v1_1/cloudName/folders', {
method: 'get',
headers: {
'Authorization': 'Basic ' + "API" + ":" + "SECRET",
},
}).then(res => res.json())
它无法从前端运行,为什么?如何在后台做到这一点?