Cloudinary image upload from React: am including Cloudinary unsigned preset but get “Upload preset must be specified when using unsigned upload”
问题 I'm trying to construct a simple Cloudinary image upload based on this codepen example: https://codepen.io/team/Cloudinary/pen/QgpyOK -- I've converted it to work with fetch but even though I've gone to my Cloudinary settings and created an unsigned upload preset, which I'm providing to the headers, I'm still getting an error POST https://api.cloudinary.com/v1_1/myproject/upload 400 (Bad Request) with the error message Upload preset must be specified when using unsigned upload The code I'm