Skip to content

Commit

Permalink
remove outdated example
Browse files Browse the repository at this point in the history
  • Loading branch information
watzon committed Nov 24, 2024
1 parent 311b79c commit 17c6d09
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions views/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,8 @@
<div class="labeled-code-block">
<span class="command-label curl-label">CURL</span>
<div class="code-block">
<pre><code>curl -X POST --data-binary @file.txt {{baseUrl}}/p</code></pre>
<button class="action-btn" data-clipboard data-clipboard-content="curl -X POST --data-binary @file.txt {{baseUrl}}/p">
<span>Copy</span>
</button>
</div>
</div>
</div>

<div class="command-group">
<div class="labeled-code-block">
<span class="command-label curl-label">CURL</span>
<div class="code-block">
<pre><code>curl -H "Authorization: Bearer YOUR_API_KEY" -F "url=https://example.com" {{baseUrl}}/u</code></pre>
<button class="action-btn" data-clipboard data-clipboard-content='curl -H "Authorization: Bearer YOUR_API_KEY" -F "url=https://example.com" {{baseUrl}}/u'>
<pre><code>curl -F "url=https://example.com" {{baseUrl}}/u?api_key=YOUR_API_KEY</code></pre>
<button class="action-btn" data-clipboard data-clipboard-content='curl -F "url=https://example.com" {{baseUrl}}/u?api_key=YOUR_API_KEY'>
<span>Copy</span>
</button>
</div>
Expand Down

0 comments on commit 17c6d09

Please sign in to comment.