REST API를 통해 쉽게 파일을 Upload, download, list 조회 할 수 있는 파일 서버 시스템입니다.
- 파일 업로드, 다중 파일 업로드, 파일 다운로드
- 파일 검색, 리스트 조회, 페이징
- 파일 삭제
- 파일 암호화
- 관리자 화면
- GET http://localhost:8812/file/list 파일 리스트 조회
curl --location --request GET 'http://localhost:8812/file/list'
- GET http://localhost:8812/file/{fileId} 단 건 파일 조회
curl --location --request GET 'http://localhost:8812/file/${fileId}'
[필수] name = file 로 파일 1개 이상 첨부
- POST http://localhost:8812/file/upload 파일 한개 이상 업로드
curl --location --request POST 'http://localhost:8080/file/upload' \ --form 'file=@"/C:/test/TEST1.png"' \ --form 'file=@"/C:/test/TEST2.png"'
- POST http://localhost:8812/file/delete/{fileId} 단 건 파일 삭제
curl --location --request POST 'http://localhost:8812/file/delete/${fileId}'
[필수] name = fileId 로 파일Id 1개 이상 보내야 함
- POST http://localhost:8812/file/delete/{fileId} 한 건 이상 파일 삭제
curl --location --request POST 'http://localhost:8080/file/delete' \ --form 'fileId="1"' \ --form 'fileId="2"'