1 Simplest form file uploader.
2 It just saves uploaded file from HTML form to the new file on the disk.
3 Also it calculates BLAKE2b checksum, replying with it in the answer.
5 You can upload files with curl:
7 curl -F fileupload=@somedata.tar.gpg http://localhost:8086/upload/
9 curl -F fileupload=@somedata.tar.gpg -F comment="optional comment" http://localhost:8086/upload/
11 You can verify integrity locally:
13 b2sum -a blake2b somedata.tar.gpg