wrap api usage in html details tag
This commit is contained in:
parent
f2dfca2b39
commit
983eafb2e1
|
@ -45,7 +45,8 @@
|
||||||
</div>
|
</div>
|
||||||
<input class="main button" type="submit" value="hochladen" />
|
<input class="main button" type="submit" value="hochladen" />
|
||||||
</form>
|
</form>
|
||||||
<section class="usage">
|
<details class="usage">
|
||||||
|
<summary>nutzung als api</summary>
|
||||||
<pre>
|
<pre>
|
||||||
file upload
|
file upload
|
||||||
curl -F 'file=@yourfile.rs' {upload_url}
|
curl -F 'file=@yourfile.rs' {upload_url}
|
||||||
|
@ -56,7 +57,7 @@ including time
|
||||||
limit to one download
|
limit to one download
|
||||||
curl -F 'text=your text' -F 'delete_on_download=true' {upload_url}</pre
|
curl -F 'text=your text' -F 'delete_on_download=true' {upload_url}</pre
|
||||||
>
|
>
|
||||||
</section>
|
</details>
|
||||||
</main>
|
</main>
|
||||||
<script src="/assets/auth-hide.js" lang="javascript"></script>
|
<script src="/assets/auth-hide.js" lang="javascript"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -38,7 +38,8 @@
|
||||||
<br />
|
<br />
|
||||||
<input class="main button" type="submit" value="hochladen" />
|
<input class="main button" type="submit" value="hochladen" />
|
||||||
</form>
|
</form>
|
||||||
<section class="usage">
|
<details class="usage">
|
||||||
|
<summary>nutzung als api</summary>
|
||||||
<pre>
|
<pre>
|
||||||
file upload
|
file upload
|
||||||
curl -F 'file=@yourfile.rs' {upload_url}
|
curl -F 'file=@yourfile.rs' {upload_url}
|
||||||
|
@ -49,7 +50,7 @@ including time
|
||||||
limit to one download
|
limit to one download
|
||||||
curl -F 'text=your text' -F 'delete_on_download=true' {upload_url}</pre
|
curl -F 'text=your text' -F 'delete_on_download=true' {upload_url}</pre
|
||||||
>
|
>
|
||||||
</section>
|
</details>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue