Merge pull request #59 from Bandie/master

Showing "randomname" as possible form field
This commit is contained in:
Eric Johansson (neku) 2020-03-26 14:31:11 +01:00 committed by GitHub
commit 9b7b29dedb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -7,3 +7,6 @@ API
To upload using curl or make a tool you can post using:
curl -i -F name=test.jpg -F file=@localfile.jpg https://uguu.se/api.php?d=upload (HTML Response)
curl -i -F name=test.jpg -F file=@localfile.jpg https://uguu.se/api.php?d=upload-tool (Plain text Response)
curl -i -F randomname=randomname -F file=@localfile.jpg https://uguu.se/api.php?d=upload-tool (Using a random name like ofijasofjyipyip.jpg)