Wanting to turn the Ploggs, into more RESTful devices, I needed to add a web server (HTTP) to the C++ code managing the Ploggs. After comparing and trying a number of lightweight web servers (Apache was not an option for this kind of small app) I picked SHTTPD, mainly because: It was one of the few I managed to embed in my C++ code (I’m not a C expert…) It offered the possibility of registering call back methods when a particular URL is called, which makes it a quite good candidate for a REST interface. Here is how I did...
Okay, our WoT device for Chapter 2 is now fully back up and running and so is the camera, enjoy! For the records the issue was an SD card fault. As said in the book, do not use SD cards in production! :D #webofthings @wotbook @ManningBooks pic.twitter.com/3wNPq0ZmOR
@VWGroup submitted a new version of their #viwi protocol as a @w3c member submission: a spec for accessing infotainment via a #WebAPI, nicely fitting the #webofthings style. Well done @VWGroup w3.org/Submission/201… #IoT #ConnectedCars #REST #JSON pic.twitter.com/wikO1UwZsy
We just released a new version of digital-link.js with compression as specified in the current @gs1 #DigitalLink 1.1 draft standard. Shorter Web IDs to support more use cases with limited tag sizes! Play with it on digital-link.tools #IoT #WoT #DigitalIdentities @EVRYTHNG pic.twitter.com/NzwaK6ptd2