Within the data return from the sample and current endpoints are data items under each “device.” Each data item has a value and set of attributes, and each device has a set of data items. Keep in mind that despite the webpage for these HTTP requests looking like HTML, it is XML. If you view the source of the page, it’ll show you the XML result.
The following features must be enabled in your web application:
The ability to list current data that automatically updates once a second.
If I understand react correctly, we can just dump the xml data now, and then make it pretty latter. I think displaying the current data is a good second step.
From the assignment:
If I understand react correctly, we can just dump the xml data now, and then make it pretty latter. I think displaying the current data is a good second step.
This repository might be useful: https://github.com/dwarfcoder/xml-viewer-angular-demo