Skip to content

Imrnkhan/SpringBootUploadImportExcelfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Upload/Download File to/from Database

Create Spring Boot Application to upload multipart files and get files’ information with static folder download via Restful API.

Spring Boot Rest APIs for uploading Files to Database

Our Spring Boot Application will provide APIs for:

uploading File to PostgreSQL/MySQL database

downloading File database with the link

getting list of Files’ information (file name, url, type, size)

These are APIs to be exported:

Methods Urls Actions

POST /upload upload a File

GET /files get List of Files (name, url, type, size)

GET /files/[fileId] download a File

image

image

1.POST Method

http://localhost:8087/api/excel/upload

image

get some message

  1. GET MEthod Lsit All

http://localhost:8087/api/excel/listAll

image

Retrieve list of Files’ information:

  1. Get Method Download Excel file

http://localhost:8087/api/excel/download

This way to Download file of get method in excel foemat all data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages