and don't forget to check upload permission in strapi users panel for public if you want to upload with authenticated users send token in the headers with the post request.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hello Amr, I am with the same problem (Bad Request). But if I use just /upload, without the api, I then get an Unauthorized.
Did you solve this?
Hello yes the new version of Strapi, the V4 version needs to be
api/uploadI will try to update the post to follow the new version
Hi Mauricio, yes i solved this problem by using axios like this
and don't forget to check upload permission in strapi users panel for public if you want to upload with authenticated users send token in the headers with the post request.