11 lines
331 B
Bash
11 lines
331 B
Bash
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"}
|
|
}'
|