1
0
Fork 0
forked from hswaw/labelmaker

Fix API description

This commit is contained in:
radex 2024-02-07 17:49:53 +01:00
parent f5eee8f824
commit 663907055b
Signed by: radex
SSH key fingerprint: SHA256:hvqRXAGG1h89yqnS+cyFTLKQbzjWD4uXIqw7Y+0ws30

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>