1 <%- include('./partials/header.ejs'); -%>
2 <div class="container">
3 <div class="jumbotron">
4 <h1><%= siteName %> API</h1>
6 <div class="alert alert-info">
9 <p>You may POST an array of files to <b>https://<%= DOMAIN %>/upload.php</b>, by default you will get a json response.</p>
10 <p>If you want a response in something else than json you add a flag to specify what format you want, for example <b>https://<%= DOMAIN %>/upload.php?output=csv</b>.</p>
11 <p>Valid response types are: json, csv, text, html and gyazo.</p>
13 <p><kbd>curl -i -F files[]=@yourfile.jpeg https://<%= DOMAIN %>/upload.php</kbd></p>
16 <%- include('./partials/footer.ejs'); -%>