Skip to content

Commit 2414ddd

Browse files
committed
change style
1 parent e237f95 commit 2414ddd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/html.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ pub async fn index(res: &mut Response, depot: &mut Depot) -> Result<(), anyhow::
7979
8080
<div class="box">
8181
<code class="is-family-code p-2">
82-
<p class="mb-4"><strong>curl -X GET</strong> http://localhost:5800/api/<span class="has-text-primary">&lt;collection&gt;</span></p>
83-
<p class="mb-4"><strong>curl -X GET</strong> http://localhost:5800/api/<span class="has-text-primary">&lt;collection&gt;</span>?skip=10&limit=5</p>
84-
<p class="mb-4"><strong>curl -X GET</strong> http://localhost:5800/api/<span class="has-text-primary">&lt;collection&gt;</span>/<span class="has-text-primary">&lt;id&gt;</span></p>
85-
<p class="mb-4"><strong>curl -X POST</strong> -H "Content-Type: application/json" -d '{{"field1":"value1", "field2":"value2"}}' http://localhost:5800/api/<span class="has-text-primary">&lt;collection&gt;</span></p>
86-
<p class="mb-4"><strong>curl -X PUT</strong> -H "Content-Type: application/json" -d '{{"field1":"new_value1", "new_field2":"value2"}}' http://localhost:5800/api/<span class="has-text-primary">&lt;collection&gt;</span>/<span class="has-text-primary">&lt;id&gt;</span></p>
87-
<p class="mb-4"><strong>curl -X DELETE</strong> http://localhost:5800/api/<span class="has-text-primary">&lt;collection&gt;</span>/<span class="has-text-primary">&lt;id&gt;</span></p>
82+
<p class="mb-4"><strong>curl -X GET</strong> http://localhost:5800/api/<span class="has-text-link">&lt;collection&gt;</span></p>
83+
<p class="mb-4"><strong>curl -X GET</strong> http://localhost:5800/api/<span class="has-text-link">&lt;collection&gt;</span>?skip=10&limit=5</p>
84+
<p class="mb-4"><strong>curl -X GET</strong> http://localhost:5800/api/<span class="has-text-link">&lt;collection&gt;</span>/<span class="has-text-link">&lt;id&gt;</span></p>
85+
<p class="mb-4"><strong>curl -X POST</strong> -H "Content-Type: application/json" -d '{{"field1":"value1", "field2":"value2"}}' http://localhost:5800/api/<span class="has-text-link">&lt;collection&gt;</span></p>
86+
<p class="mb-4"><strong>curl -X PUT</strong> -H "Content-Type: application/json" -d '{{"field1":"new_value1", "new_field2":"value2"}}' http://localhost:5800/api/<span class="has-text-link">&lt;collection&gt;</span>/<span class="has-text-link">&lt;id&gt;</span></p>
87+
<p class="mb-4"><strong>curl -X DELETE</strong> http://localhost:5800/api/<span class="has-text-link">&lt;collection&gt;</span>/<span class="has-text-link">&lt;id&gt;</span></p>
8888
</code>
8989
</div>
9090

0 commit comments

Comments
 (0)