Relocate logout endpoint documentation with cURL example
Browse files- static/index.html +5 -6
static/index.html
CHANGED
@@ -376,7 +376,11 @@ Future<void> saveData(List<SaveInput> items, String accessToken) async {
|
|
376 |
-H "Content-Type: application/json" \
|
377 |
-d '{"refresh_token": "your-refresh-token"}'</code></pre>
|
378 |
</div>
|
379 |
-
|
|
|
|
|
|
|
|
|
380 |
<h3>Flutter Implementation</h3>
|
381 |
<div class="endpoint">
|
382 |
<h4>Complete Flutter Example</h4>
|
@@ -719,11 +723,6 @@ class SaveInput {
|
|
719 |
}
|
720 |
}</code></pre>
|
721 |
</div>
|
722 |
-
<div class="endpoint">
|
723 |
-
<h3>Step 5: Logout</h3>
|
724 |
-
<pre><code class="language-bash">curl -X POST https://humblebeeai-al-ghazali-rag-retrieval-api.hf.space/logout \
|
725 |
-
-H "Authorization: Bearer your-access-token"</code></pre>
|
726 |
-
</div>
|
727 |
</section>
|
728 |
</main>
|
729 |
</div>
|
|
|
376 |
-H "Content-Type: application/json" \
|
377 |
-d '{"refresh_token": "your-refresh-token"}'</code></pre>
|
378 |
</div>
|
379 |
+
<div class="endpoint">
|
380 |
+
<h3>Step 5: Logout</h3>
|
381 |
+
<pre><code class="language-bash">curl -X POST https://humblebeeai-al-ghazali-rag-retrieval-api.hf.space/logout \
|
382 |
+
-H "Authorization: Bearer your-access-token"</code></pre>
|
383 |
+
</div>
|
384 |
<h3>Flutter Implementation</h3>
|
385 |
<div class="endpoint">
|
386 |
<h4>Complete Flutter Example</h4>
|
|
|
723 |
}
|
724 |
}</code></pre>
|
725 |
</div>
|
|
|
|
|
|
|
|
|
|
|
726 |
</section>
|
727 |
</main>
|
728 |
</div>
|