'Why axios convert image mime type to octet-stream
i sent an image from mobile camera to the php backend with axios post (formdata). The Image from camera have mime type jpeg, but the server received application/octet-stream and so the image is not readable or detected as image.
How can i tell axios to send the image as image and not octet-stream. This error is only when i send camera pictures. From media library its worked es well.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
