X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=README;h=7ab9f86acc11b9fca9923faa91997086acbc51ad;hb=c4e7eac957e62132bd2cbdf56aab7336ca7f9edc;hp=053829e016dd7385e3306c272f42460c229c04ce;hpb=00db87f6b26280147e353edb0b1b3591bb69e5a7;p=uploader.git 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: