Created
October 13, 2017 16:48
-
-
Save dapepe/b38786d4cb5c32696ac31f21ddf2355c to your computer and use it in GitHub Desktop.
Configuration for SparkPOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
request: | |
url: http://192.168.157.143:50505 | |
log: | |
error: log/error.log | |
default: log/default.log | |
rules: | |
- name: EAN scannen | |
input: ".*" | |
action: | |
type: store | |
var: barcode | |
then: | |
type: beep | |
count: 1 | |
then: | |
type: request | |
route: "barcode/%barcode%" | |
method: GET | |
200: | |
type: output | |
data: "OK - %barcode%" | |
500: | |
type: output | |
style: danger | |
data: Fehler - %barcode% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment