Skip to content

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

Notifications You must be signed in to change notification settings

mdtalalwasim/springboot-file-project-upload-file-directly-in-directory-folder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

springboot-file-project-upload-file-directly-in-directory-folder

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

API endpoints:

POST: "http://localhost:9595/api/file-upload-to-directory"

  • for input - Key = "file" and Value ="fileName.png" (png/jpeg etc)

GET: "http://localhost:9595/api/file-download-from-directory/mdtalalwasim_photo.jpg"

Postman [POST]:

  • input 1:

postman-post-request

Postman [GET]:

  • input 1:

postman-get-request

DB:

db

Project Explorer: (uploads) folder

project-explorer

Thank you!

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy