Initialer Commit
This commit is contained in:
10
examples/curl-print-authenticated.sh
Normal file
10
examples/curl-print-authenticated.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
curl -X POST http://localhost:8080/api/print \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "X-Printservice-Token: CHANGE_ME_PRINT_TOKEN" \
|
||||
-d '{
|
||||
"printerAlias":"LABEL_LINE_01",
|
||||
"templateName":"serial_label_zpl",
|
||||
"renderMode":"RAW",
|
||||
"copies":1,
|
||||
"data":{"serialNumber":"SNR000001","partNumber":"A123456"}
|
||||
}'
|
||||
Reference in New Issue
Block a user