-
|
I can't seem to find if you are even able to set the mime type upon upload via API. The files get submitted as text/plain, displayed fine on raw and even have the correct png extension, but if you open it from the dashboard it tries to read the png file as text, which not only can take some time to render, but is just random bytes. I figured it would be x-content-type or similar given the other options follow a similar naming. I tried to enable the image compression to 0 and it still uploaded as text/plain. I've opened it as a discussion/question in the chance it isn't a bug/issue just missing. Is there some header I'm missing/documentation I should reference? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
you upload multipart/form-data and you can change the mimetype through the boundary. |
Beta Was this translation helpful? Give feedback.
you upload multipart/form-data and you can change the mimetype through the boundary.