Update README.md

This commit is contained in:
Eric Johansson (neku) 2015-10-07 23:05:53 +02:00
parent e7c58287a0
commit c3b6d61cf6

View File

@ -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). Putting a custom name into POST value 'name' will cause it to return a custom filename (yourpick.ext).
E.g: 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 (HTML Response)
curl -i -F name=test.jpg -F file=@localfile.jpg http://uguu.se/api.php?d=upload-tool (Plain text Response) curl -i -F name=test.jpg -F file=@localfile.jpg http://uguu.se/api.php?d=upload-tool (Plain text Response)