wrap api usage in html details tag

This commit is contained in:
neri 2021-04-16 14:45:43 +02:00
parent f2dfca2b39
commit 983eafb2e1
2 changed files with 6 additions and 4 deletions

View File

@ -45,7 +45,8 @@
</div>
<input class="main button" type="submit" value="hochladen" />
</form>
<section class="usage">
<details class="usage">
<summary>nutzung als api</summary>
<pre>
file upload
curl -F 'file=@yourfile.rs' {upload_url}
@ -56,7 +57,7 @@ including time
limit to one download
curl -F 'text=your text' -F 'delete_on_download=true' {upload_url}</pre
>
</section>
</details>
</main>
<script src="/assets/auth-hide.js" lang="javascript"></script>
</body>

View File

@ -38,7 +38,8 @@
<br />
<input class="main button" type="submit" value="hochladen" />
</form>
<section class="usage">
<details class="usage">
<summary>nutzung als api</summary>
<pre>
file upload
curl -F 'file=@yourfile.rs' {upload_url}
@ -49,7 +50,7 @@ including time
limit to one download
curl -F 'text=your text' -F 'delete_on_download=true' {upload_url}</pre
>
</section>
</details>
</main>
</body>
</html>