|
1 | 1 | # springboot-file-project-upload-file-directly-in-directory-folder
|
2 | 2 | File upload and download & store image into directory or folder and the path of the image is store in Database - Spring Boot REST API and Spring Data JPA
|
| 3 | + |
| 4 | +# API endpoints: |
| 5 | + |
| 6 | +POST: "http://localhost:9595/api/file-upload-to-directory" |
| 7 | +- for input - Key = "file" and Value ="fileName.png" (png/jpeg etc) |
| 8 | + |
| 9 | +GET: "http://localhost:9595/api/file-download-from-directory/mdtalalwasim_photo.jpg" |
| 10 | + |
| 11 | + |
| 12 | +# Postman [POST]: |
| 13 | + |
| 14 | +- input 1: |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | +# Postman [GET]: |
| 24 | + |
| 25 | +- input 1: |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | +# DB: |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | +# Thank you! |
| 36 | + |
| 37 | + |
0 commit comments