You can think of an API as a sort of plug. Like an outlet on your wall. What matters is that the wires connect. You can arrange the plug in 400 different ways to make the wires connect. (In the same way that plugs in Europe are different from those in the United States). REST is just one way of arranging the wires so that people can make more standardized ways of connecting the wires.
REST isn’t the only organized way of doing this. There used to be others but most people gravitated towards REST which is why it is the most common these days.
Latest Answers