some issue.manual upload is fine.using api upload will broken the site
“@strapi/strapi”: “4.1.2”,
“@strapi/plugin-users-permissions”: “4.1.2”,
“@strapi/plugin-i18n”: “4.1.2”,
“sqlite3”: “5.0.2”
find the solution:
when upload image we need add " mime-type "
in python something like:
multipart_form_data = {
'upload': ('custom_file_name.png', open('myfile.png', 'rb'),"image/png"),
}
“image/png”