Skip to content
Snippets Groups Projects
Commit 6adf3bc9 authored by Jonas Leder's avatar Jonas Leder
Browse files

added if arround apikey in example to hide if not logged in

parent 0d499714
No related branches found
No related tags found
No related merge requests found
Pipeline #119 failed
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<li>qr: if you add this parameter you will get an base64 encoded QR code image</li> <li>qr: if you add this parameter you will get an base64 encoded QR code image</li>
<li>apikey: you can add this argument, if you want to assign this link to your account.</li> <li>apikey: you can add this argument, if you want to assign this link to your account.</li>
</ul> </ul>
<p>example API call with curl: <i>curl -d "apikey={{apikey}}&short={{domain}}/example&long=http://example.com" -X POST {{url_scheme}}://{{domain}}/user/api</i> <p>example API call with curl: <i>curl -d "{% if apikey %}apikey={{apikey}}&{% endif %}short={{domain}}/example&long=http://example.com" -X POST {{url_scheme}}://{{domain}}/user/api</i>
<h2>Responses from Server</h2> <h2>Responses from Server</h2>
<p>The response from the server is always made in json format it includes the following arguments:</p> <p>The response from the server is always made in json format it includes the following arguments:</p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment