From c3b6d61cf6b48536e1011511a9205f0eb757923b Mon Sep 17 00:00:00 2001 From: "Eric Johansson (neku)" Date: Wed, 7 Oct 2015 23:05:53 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) 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)