Working with REST
Most DBMSs will ship with an interface that makes it possible to interact with the server, type in commands, and get responses. You have seen this at play when logging into the server remotely and typing in mysql
from the command line.
REST makes it possible to communicate with an application server over HyperText Transfer Protocol (HTTP), which, in turn, communicates with a DBMS using any native technology that is supported. HTTP and HTTPS are normally the first part of most URLs that you type into the address bar of a browser. HTTPS is HTTP with a secure component.
Both HTTP and HTTPS tell the browser how to communicate with the server that it is connecting to. Most DBMSs are not designed to work with HTTP or HTTPS, so we will need to set up a separate component (called middleware) that will communicate with the DBMS while exposing an HTTP or HTTPS interface.
Before we do that, let’s set up some tables within the telemetry schema in our MySQL database...