1
0
mirror of https://github.com/nokonoko/Uguu.git synced 2024-01-06 13:35:15 +00:00
This commit is contained in:
Go Johansson (neku) 2023-12-10 16:42:42 +01:00
parent 915b63a528
commit 8a113a8256

View File

@ -5,9 +5,9 @@
</div>
<div class="alert alert-info">
<section>
<p>You may POST an array of files to&nbsp;<b><%= DOMAIN %>/upload.php</b>, by default you will get a json response.</p>
<p>For example using Curl: <kbd>curl -i -F files[]=@yourfile.jpeg <%= DOMAIN %>/upload.php</kbd></p>
<p>If you want a response in something else than json you add a flag to specify what format you want, for example&nbsp;<b><%= DOMAIN %>/upload.php?output=csv</b>.</p>
<p>You may POST an array of files to&nbsp;<b>https://<%= DOMAIN %>/upload.php</b>, by default you will get a json response.</p>
<p>For example using Curl: <kbd>curl -i -F files[]=@yourfile.jpeg https://<%= DOMAIN %>/upload.php</kbd></p>
<p>If you want a response in something else than json you add a flag to specify what format you want, for example&nbsp;<b>https://<%= DOMAIN %>/upload.php?output=csv</b>.</p>
<p>Valid response types are: json, csv, text, html and gyazo.</p>
</section>
</div>