Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Correctly document how to set API format in URL

Roland Geiderdf67f78439ea
diff --git a/wger/software/templates/api.html b/wger/software/templates/api.html
index 8ef90cbfc..74fa1d534 100644
--- a/wger/software/templates/api.html
+++ b/wger/software/templates/api.html
@@ -80,13 +80,13 @@ it in the header, see the link on the sidebar for details.</p>
Set the format <strong>directly in the URL</strong>:
<ul>
<li>
- <code>/api/v2/&lt;endpoint&gt;/.json</code>
+ <code>/api/v2/&lt;endpoint&gt;.json/</code>
</li>
<li>
<code>/api/v2/&lt;endpoint&gt;/?format=json</code>
</li>
<li>
- <code>/api/v2/&lt;endpoint&gt;/.api</code> - browsable HTML view
+ <code>/api/v2/&lt;endpoint&gt;.api/</code> - browsable HTML view
</li>
</ul>
</li>