Skip to content

Commit

Permalink
deploy: 0911e39
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaa committed Sep 26, 2024
1 parent 078dca3 commit 15dd5db
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 1 addition & 3 deletions admins/create-account.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,7 @@ <h2 id="just"><a class="header" href="#just">just</a></h2>
</code></pre>
<h2 id="curl"><a class="header" href="#curl">curl</a></h2>
<p>You can also access the API via curl, as <code>Justfile</code> does.</p>
<pre><code class="language-bash">curl -X POST "http://localhost:$(echo $HATSU_LISTEN_PORT)/api/v0/admin/create-account?token=$(echo $HATSU_ACCESS_TOKEN)" \
-H "Content-Type: application/json" \
-d "{\"name\": \"example.com\"}"
<pre><code class="language-bash">NAME="example.com" curl -X POST "http://localhost:$(echo $HATSU_LISTEN_PORT)/api/v0/admin/create-account?name=$(echo $NAME)&amp;token=$(echo $HATSU_ACCESS_TOKEN)"
</code></pre>

</main>
Expand Down
4 changes: 1 addition & 3 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -754,9 +754,7 @@ <h2 id="just"><a class="header" href="#just">just</a></h2>
</code></pre>
<h2 id="curl"><a class="header" href="#curl">curl</a></h2>
<p>You can also access the API via curl, as <code>Justfile</code> does.</p>
<pre><code class="language-bash">curl -X POST "http://localhost:$(echo $HATSU_LISTEN_PORT)/api/v0/admin/create-account?token=$(echo $HATSU_ACCESS_TOKEN)" \
-H "Content-Type: application/json" \
-d "{\"name\": \"example.com\"}"
<pre><code class="language-bash">NAME="example.com" curl -X POST "http://localhost:$(echo $HATSU_LISTEN_PORT)/api/v0/admin/create-account?name=$(echo $NAME)&amp;token=$(echo $HATSU_ACCESS_TOKEN)"
</code></pre>
<div style="break-before: page; page-break-before: always;"></div><h1 id="block-instances-or-actors"><a class="header" href="#block-instances-or-actors">Block Instances or Actors</a></h1>
<blockquote>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

0 comments on commit 15dd5db

Please sign in to comment.