Skip to content

Instantly share code, notes, and snippets.

@duydao
Last active February 20, 2018 09:39
Show Gist options
  • Save duydao/aed245cd9b3ee96becd77a2171590824 to your computer and use it in GitHub Desktop.
Save duydao/aed245cd9b3ee96becd77a2171590824 to your computer and use it in GitHub Desktop.
For demo
[
{"name": "Button 1", "url": "", "method": "GET"},
{"name": "Button 2", "url": "", "method": "GET"},
{"name": "Button 3", "url": "", "method": "GET"},
{"name": "Button 4", "url": "", "method": "GET"},
{"name": "Button 5", "url": "", "method": "GET"},
{"name": "Button 6", "url": "", "method": "GET"},
{"name": "Button 7", "url": "", "method": "GET"},
{"name": "Button 8", "url": "", "method": "GET"},
{"name": "Button 9", "url": "", "method": "GET"},
{"name": "Button 10", "url": "", "method": "GET"},
{
"name": "Wetter: normal",
"url": "http://localhost:8080/mobile/stores/493716/articles/493746",
"method": "POST",
"body": {
"articleNumber":"27320747",
"texts":[
{
"key":"wetter-aktiv",
"caption":"Wetter aktiv",
"value":"0"
}
]
},
"color": "green",
"enabled": true
},
{
"name": "Wetter: aktiv",
"url": "http://localhost:8080/mobile/stores/493716/articles/493746",
"method": "POST",
"body": {
"articleNumber":"27320747",
"texts":[
{
"key":"wetter-aktiv",
"caption":"Wetter aktiv",
"value":"1"
}
]
},
"color": "green",
"enabled": true
},
{
"name": "Blink 182",
"urls": [{
"url": "http://localhost:8080/mobile/stores/{storeId}/labels/{labelSerial}/blinkLED",
"method": "POST",
"body": "color=BLUE&duration=23"
}]
},
{"name": "Button 14", "url": "", "method": "GET"},
{"name": "Button 15", "url": "", "method": "GET"},
{"name": "Button 16", "url": "", "method": "GET"}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment