Skip to content

pra4pra/filehandler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

filehandler

file handler with basic operation to upload and download using api

to run the application follow the below commands.

git clone 'https://github.com/pra4pra/filehandler.git'

mvn clean test package spring-boot:run

To check application health using spring actuator:

http://localhost:8080/actuator

Use below curl commands to validate the application. curl --location --request GET 'http://localhost:8080/health'
--header 'Content-Type: text/html'

curl --location --request POST 'http://localhost:8080/uploadFile'
--form 'file=@/Users/<file.ext>'

curl --location --request GET 'http://localhost:8080/downloadFile/<file.ext>'

DEBUG instructions:

uncomment logger level in application.properties. line:1: logging.level.root=DEBUG

Update available port: line: 10: server.port=8080

change file sizes as required line:4-8

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages