Простой сервер для загрузки/хранения/удаления файлов первая реализация
Переименуйте docker-compose-template.yml в docker-compose.yml
docker-compose up
- authentication
- encryption
- POST /file/upload/
- GET /file/status/
curl -X GET "http://127.0.0.1:80/file/status/" -H "accept: application/json" -H "Content-Type: application/json" -d "{\"full_name\":\"example_file\"}"
- GET /file/download/{filename}
curl -X GET "http://127.0.0.1:80/file/download/example_file" -H "accept: application/json"
- DELETE /file/delete/{filename}
curl -X DELETE "http://127.0.0.1:80/file/delete/example_file" -H "accept: application/json"