From: Eric Johansson (neku) Date: Wed, 7 Oct 2015 21:05:53 +0000 (+0200) Subject: Update README.md X-Git-Tag: v1.0~112 X-Git-Url: https://jfr.im/git/uguu.git/commitdiff_plain/c3b6d61cf6b48536e1011511a9205f0eb757923b Update README.md --- diff --git a/README.md b/README.md index d8b41ea..8700b94 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,11 @@ Make the uguu/ directory modifiable to the nginx user: Putting a custom name into POST value 'name' will cause it to return a custom filename (yourpick.ext). E.g: + + curl -i -F name=test.jpg -F file=@localfile.jpg http://uguu.se/api.php?d=upload (HTML Response) + + curl -i -F name=test.jpg -F file=@localfile.jpg http://uguu.se/api.php?d=upload-tool (Plain text Response)