JSON Api to push data to a device