Skip to content

extwiii/File-Metadata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File-Metadata

User stories:

  1. I can submit a FormData object that includes a file upload.
  2. When I submit something, I will receive the file size in bytes within the JSON response

Hint: You may want to use this package: https://www.npmjs.com/package/multer

Example query usage:

https://extwiii-file-metadata.herokuapp.com

Example query output:

https://extwiii-file-metadata.herokuapp.com/metadata
{
"name":"LOGO.jpg",
"size":"40673 KB",
"type":"image/jpeg"
}

Difficulty 🌕🌕🌕🌕🌑🌑🌑🌑🌑🌑