Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.21 KB

README.md

File metadata and controls

29 lines (19 loc) · 1.21 KB

# SpringFileApi

What is this?

An API that receives and stores an image file from a client

Base on SpringBoot 3. & MySQL

How To Use This?

When Upload Image file

  1. Upload an image file through request body (The Key's value should be "image" )
  2. When the Request was processed Successfully: API Reponses "file upload success + [Directory of the image where it was saved]" message!

when the image is uploaded to API, an UUID is allocated to the image. And it's saved with it's upload-name, UUID and file path in the DataBase


when Download Image file

  1. Request the image file through url [~~/fileSystem/{file_name.(extension)}]
  2. If the image you requested is Exist, API Returns it Through ResponseBody!