First we will look at what is MIME typeA media type (also known as a Multipurpose Internet Mail Extensions or MIME type) is a standard that indicates the nature and format of a document, file, or assortment of bytes. The file is accessed from event.target.files array. Supports all modern browsers like Chrome, Firefox, Safari. To install a dependency into your JavaScript project, you will first initialize a new npm project by running the following command in your terminal: And now, you can install Axios in your project by running the following command: Once Axios is successfully installed, you can send your POST request. Python requests post image with json data - appsloveworld.com :). Option 1: Direct File Upload , From this method you can select form-data and set the type to file. coding either in the page code or on the server The page that hosts this image should include this page using an