diff --git a/src/static/css/uguu.css b/src/static/css/uguu.css index 8f19776..844e93b 100755 --- a/src/static/css/uguu.css +++ b/src/static/css/uguu.css @@ -398,20 +398,16 @@ progress[value]::-webkit-progress-bar { .js #upload-btn { display: inline-block !important; } - /* * inline command block */ kbd { padding: 0.1875rem 0.375rem; + font-size: 13px; color: #FFFFFF; background-color: #444444; border-radius: 0.25rem; } -kbd kbd { - padding: 0; - font-size: 1em; -} kbd:before { content: "$ " } \ No newline at end of file diff --git a/src/templates/api.ejs b/src/templates/api.ejs index 3d390c3..e98405b 100755 --- a/src/templates/api.ejs +++ b/src/templates/api.ejs @@ -1,14 +1,16 @@ <%- include('./partials/header.ejs'); -%>
-

<%= siteName %> Tools

+

<%= siteName %> API

+

Endpoint

You may POST an array of files to https://<%= DOMAIN %>/upload.php, by default you will get a json response.

-

For example using Curl: curl -i -F files[]=@yourfile.jpeg https://<%= DOMAIN %>/upload.php

If you want a response in something else than json you add a flag to specify what format you want, for example https://<%= DOMAIN %>/upload.php?output=csv.

Valid response types are: json, csv, text, html and gyazo.

+

Curl Example

+

curl -i -F files[]=@yourfile.jpeg https://<%= DOMAIN %>/upload.php

<%- include('./partials/footer.ejs'); -%> \ No newline at end of file