The difference between an API and a REST API

613 views

The difference between an API and a REST API

In: 198

15 Answers

Anonymous 0 Comments

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.

You are viewing 1 out of 15 answers, click here to view all answers.