- I can submit a FormData object that includes a file upload.
- When I submit something, I will receive the file size in bytes within the JSON response.
Hint: You may want to use this package: Multer
Upload your file from the UI at the root.
A JSON output containing all the file details will be displayed in the below URL.
https://myfile-hemakshis.herokuapp.com/api/upload
{"name":"wxyz.jpg","size":66225,"date":"2017-12-21 16:13:27","file":"f0b87e941714c7beea453e19e3782d5e"}
Note:- The files get deleted right away. All the information stored in database is displayed.