Fix API description

master
radex 2024-02-07 17:49:53 +01:00
parent f5eee8f824
commit 663907055b
Signed by: radex
SSH Key Fingerprint: SHA256:hvqRXAGG1h89yqnS+cyFTLKQbzjWD4uXIqw7Y+0ws30
1 changed files with 2 additions and 2 deletions

View File

@ -81,9 +81,9 @@
<div class="col-md-7">
<h4>API</h4>
<pre>$ # To get a label preview
$ curl http://label.waw.hackerspace.pl/api/preview/60/?text=foobar&amp;html=0 | feh -
$ curl http://label.hackerspace.pl/api/preview/60/?text=foobar&amp;html=0 | feh -
$ # To print the label
$ curl -d "" http://label.waw.hackerspace.pl/api/print/60/?text=foobar&amp;html=0</pre>
$ curl -d "" http://label.hackerspace.pl/api/print/60/?text=foobar&amp;html=0</pre>
</div>
</div>
</div>