]> jfr.im git - uguu.git/commitdiff
Update README.md
authornokonoko <redacted>
Wed, 18 Nov 2020 13:00:15 +0000 (14:00 +0100)
committernokonoko <redacted>
Wed, 18 Nov 2020 13:00:15 +0000 (14:00 +0100)
README.md

index 37cdbf09e84d283f74ba63fbc9d0b61a5fcac8dd..0528c84abda561df75c8b8dd8c9e5a567e65b677 100644 (file)
--- a/README.md
+++ b/README.md
@@ -116,10 +116,14 @@ define('UGUU_DB_PASS', '[stuff]'); ---> define('UGUU_DB_PASS', null);
 
 *NOTE: The directory where the SQLite database is stored, must be writable by the web server user*
 
-### Nginx/Apache
+## Nginx/Apache
 
 I won't cover settings everything up, however do NOT allow PHP scripts to be executed on your subdomain serving the files or someone will just upload a PHP shell and PwN you.
 
+## API
+To upload using curl or make a tool you can post using: 
+`curl -i -F files[]=@yourfile.jpeg https://uguu.se/upload.php (JSON Response)`
+
 ## Getting help
 
 Hit me up at [@nekunekus](https://twitter.com/nekunekus) or email me at neku@pomf.se