forked from gitbot/uguu
Fixing 2 regressions from the initial pull request
This commit is contained in:
parent
01552dad82
commit
bc308ac56b
12
README.md
12
README.md
@ -30,12 +30,12 @@
|
||||
|
||||
Alias "/files" "/var/www/Uguu/public/files/"
|
||||
<Directory /var/www/Uguu/public/files/>
|
||||
<Files *>
|
||||
SetHandler default-handler
|
||||
</Files>
|
||||
AllowOverride None
|
||||
Options -Indexes
|
||||
Require all granted
|
||||
<Files *>
|
||||
SetHandler default-handler
|
||||
</Files>
|
||||
AllowOverride None
|
||||
Options -Indexes
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
</VirtualHost>
|
||||
|
@ -11,8 +11,8 @@
|
||||
<p>ShareX: <a href="https://getsharex.com">https://getsharex.com</a></p>
|
||||
<span class="card-title">API</span>
|
||||
<p>To upload using curl or make a tool you can post using:<br />
|
||||
<code>curl -i -F name=test.jpg -F file=@localfile.jpg https://uguu.se/api.php?d=upload</code> (HTML Response)<br />
|
||||
<code>curl -i -F name=test.jpg -F file=@localfile.jpg https://uguu.se/api.php?d=upload-tool</code> (Plain text Response)</p>
|
||||
<code>curl -i -F name=test.jpg -F file=@localfile.jpg {$url_filename}/api.php?d=upload</code> (HTML Response)<br />
|
||||
<code>curl -i -F name=test.jpg -F file=@localfile.jpg {$url_filename}/api.php?d=upload-tool</code> (Plain text Response)</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user