Skip to content

Commit 400de11

Browse files
authored
README.md
1 parent 0f0aeba commit 400de11

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,37 @@
11
# springboot-file-project-upload-file-directly-in-directory-folder
22
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+
![postman-post-request](https://github.com/mdtalalwasim/springboot-file-project-upload-file-directly-in-directory-folder/assets/91146041/89c066c4-2509-4d3b-b4d5-85e5973c80c1)
17+
18+
19+
20+
21+
22+
23+
# Postman [GET]:
24+
25+
- input 1:
26+
27+
![postman-get-request](https://github.com/mdtalalwasim/springboot-file-project-upload-file-directly-in-directory-folder/assets/91146041/a365a9b7-e22c-44a7-91d4-8303f3b7cace)
28+
29+
30+
# DB:
31+
32+
33+
![db](https://github.com/mdtalalwasim/springboot-file-project-upload-file-directly-in-directory-folder/assets/91146041/2deaf1ab-9e63-4e62-897b-7b87a3394690)
34+
35+
# Thank you!
36+
37+

0 commit comments

Comments
 (0)