Olivier Mauras de9a81074e Provide systemd unit file 4 years ago
systemd Provide systemd unit file 4 years ago
LICENSE Update license 4 years ago
README.md Update license 4 years ago
http_store.go First distributed working version 4 years ago

README.md

HTTP Store

This is a very basic HTTP service written in Go using Gin framework that let's you upload a file, then retrieve it afterward.

curl -X POST http://localhost:8080/add/<filename> -F "file=@<your_file_to_upload>"
curl -X GET http://localhost:8080/get/<filename>
  • Will save files by default in ./files, can be changed with "-f"
  • Will return error 500 if you try to upload a filename that already exist

License

Copyright 2015, Olivier Mauras

This project is governed by the 3-clause BSD license. For details see the file titled LICENSE in the project root folder.