college/ws2012/Hiwi TK/JSON-Format/json_testen.txt
2012-11-03 09:45:33 +01:00

8 lines
450 B
Plaintext

JSON Format zum ändern der Optionen:
http://www.da-sense.de/test/api.php?flag=input&source=smartphone&json={\"deviceType\":1, \"deviceID\":123456789, \"deviceManufactor\":\"Scholz\", \"deviceModel\":\"Testdevice\", \"deviceName\":\"ErstesAPITestDevice\", \"sensors\": [ { \"type\":1, \"sensorAttributes\": [ { \"key\":\"testkey1\", \"value\":\"20\" } ] }, {\"type\":2, \"sensorAttributes\": [ { \"key\":\"testkey2\", \"value\":\"30\" } ] } ] }