mirror of
https://github.com/nokonoko/Uguu.git
synced 2024-01-06 13:35:15 +00:00
Update README.md
This commit is contained in:
parent
21e65e7907
commit
e67517232b
@ -20,7 +20,8 @@ Make the uguu/ directory modifiable to the nginx user:
|
|||||||
|
|
||||||
# Todo
|
# Todo
|
||||||
|
|
||||||
* Respond with JSON rather then a white page with echo, will break current tools for the page tho, maybe add a switch so using the webpage will respond using JSON by default and using the 'API' will respond with a plain echo by default?
|
* Restructure files.
|
||||||
|
* Make global config file.
|
||||||
* Probably a lot of things but I'm a lazy fuck, come with suggestions.
|
* Probably a lot of things but I'm a lazy fuck, come with suggestions.
|
||||||
|
|
||||||
|
|
||||||
@ -36,10 +37,8 @@ Make the uguu/ directory modifiable to the nginx user:
|
|||||||
|
|
||||||
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)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user