Cleaned code
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user