X-Git-Url: http://www.git.stargrave.org/?p=uploader.git;a=blobdiff_plain;f=README;h=7ab9f86acc11b9fca9923faa91997086acbc51ad;hp=053829e016dd7385e3306c272f42460c229c04ce;hb=96d49430705d94a7e28126ccf19c56645c6e517e;hpb=6d00993bda9905be78e59ca421234f8e95f04550 diff --git a/README b/README index 053829e..7ab9f86 100644 --- a/README +++ b/README @@ -5,9 +5,9 @@ Also it calculates BLAKE2b checksum, replying with it in the answer. You can upload files with curl: - curl -F fileupload=@somedata.tar.gpg http://localhost:8086/upload/ - - curl -F fileupload=@somedata.tar.gpg -F comment="optional comment" http://localhost:8086/upload/ + curl -F file=@somedata.tar.gpg \ + [ -F comment="optional comment" ] \ + http://localhost:8086/upload/ You can verify integrity locally: