REST services
One of the most commonly-used techniques for obtaining the desired data is by an HTTP GET
call. Most of the IoT platforms that exist in the market have REST APIs exposed. There, we can send values from the device to the platform using an HTTP POST
request, and at the same time get data by an HTTP GET
request. Infact, in Chapter 2, Weather Station (IoT), where we used dweet.io
to send data from a device, we used an SDK. Internally, the SDK also performs a similar HTTP POST
call to send in data.