Cleaned code

This commit is contained in:
2025-08-07 22:13:39 +02:00
parent 6bcedf84f6
commit afccf236fc
5 changed files with 23 additions and 56 deletions

View File

@@ -26,21 +26,21 @@
<div class="endpoint">
<h3><span class="method post">POST</span>/upload</h3>
<p><strong>Description:</strong> Upload a file</p>
<p><strong>cURL Example:</strong></p>
<p><strong>cURL example:</strong></p>
<pre><code>curl -X POST -F "file=@/path/to/your/file.txt" {{.BaseURL}}/upload</code></pre>
</div>
<div class="endpoint">
<h3><span class="method get">GET</span>/uploads/{fileID}/{filename}</h3>
<p><strong>Description:</strong> Download a file using the ID and filename from upload response</p>
<p><strong>cURL Example:</strong></p>
<p><strong>cURL example:</strong></p>
<pre><code>curl -O {{.BaseURL}}/uploads/{fileID}/{filename}</code></pre>
</div>
<div class="endpoint">
<h3><span class="method get">GET</span>/health</h3>
<p><strong>Description:</strong> Check service health</p>
<p><strong>cURL Example:</strong></p>
<p><strong>cURL example:</strong></p>
<pre><code>curl {{.BaseURL}}/health</code></pre>
</div>