michelbernardods / api-up-down-load

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File Storage API

Tecnologias

Como Executar

  • Clonar repositório git:
git clone https://github.com/giuliana-bezerra/file-storage-api.git
  • Construir o projeto:
./mvnw clean package
  • Executar:
java -jar ./target/file-storage-api-0.0.1-SNAPSHOT.jar

Testando Endpoints

  • Upload file:
curl -X POST -F "file=@path/to/your/file.txt" http://localhost:8080/api/files/upload
  • Download file:
curl -OJL http://localhost:8080/api/files/download/your-file-name.txt
  • List uploaded files:
curl http://localhost:8080/api/files/list

About


Languages

Language:Java 100.0%