HTTP client

Since Raspberry Pi acts as our client, we will write our client code in Raspberry Pi itself. Let's install Node.js in our Raspberry Pi. At the end, we will have Node.js up and running. Here, we will SSH into Pi using PuTTY:

  1. Open the PuTTY terminal on laptop/desktop.
  2. Include the IP address, which your router has provided to your Pi, as the Host Name (IP address) and click on Open, as shown in Figure 3.4:
Figure 3.4
  1. If you are connecting for the first time, a security warning will appear. Just click Yes as shown in Figure 3.5, as you are connecting to your own Pi and not a public computer that may harm your system:
Figure 3.5 ...

Get Internet of Things with Raspberry Pi 3 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.