In Chapter 2, you connected Arduino to the Internet using Ethernet and WiFi respectively. This chapter looks at two protocols used for sending and receiving data. A protocol is an agreed-upon structured format that is used for network communication. It defines what should be sent and received and what actions should be taken.
Learning Objectives
At the end of this chapter, you will be able to:
Understand the basics of the HTTP protocol
Send an HTTP request to the server
Understand the basics of the MQTT protocol
Publish and subscribe to an MQTT broker
HTTP
The web uses Hyper ...