Commit 5312c067 authored by Michal Čihař's avatar Michal Čihař

Syntacticlaly correct examples for not logged in users

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 7757063a
......@@ -74,7 +74,7 @@
<pre>
curl \
-H "Authorization: Token {{ request.user.auth_token.key }}" \
-H "Authorization: Token {{ request.user.auth_token.key|default:"TOKEN" }}" \
{{ site_url }}{% url 'api:component-translations' project__slug=object.slug slug=subproject.slug %}
</pre>
{% endif %}
......@@ -116,7 +116,7 @@ curl \
<pre>
curl \
-d operation=pull \
-H "Authorization: Token {{ request.user.auth_token.key }}" \
-H "Authorization: Token {{ request.user.auth_token.key|default:"TOKEN" }}" \
{{ site_url }}{% url 'api:project-repository' slug=object.slug %}
</pre>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment