A photo uploader and downloader RESTful API application built with Spring Boot using Java.
The model class used is Photo
with the following attributes:
id
fileName
contentType
data
Endoints for photo uploader:
- POST : /photo/upload - Upload a new photo.
- GET : /photo/upload - Get all the photos.
- GET : /photo/upload/id - Get a photo by id.
- DELETE : /photo/upload/id - Delete a photo with given id.
Endoints for photo downloader:
- GET : /photo/download/id - Download a photo by id.
Postman Collection: https://api.postman.com/collections/17404613-cb23cab1-53c0-47e2-9434-ea982e55c57f?access_key=PMAT-01H6D9HZFZSFG2CKJEJVCMBB7Y