The difference between an API and a REST API

642 views

The difference between an API and a REST API

In: 198

15 Answers

Anonymous 0 Comments

REST APIs follow certain conventions which makes their behaviour predictable. Want to add a new comment to a post? The route and method will be “POST posts/:postId/comments”, for example.

A “regular” API doesn’t necessarily follow any established conventions

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