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)