adnanrahic / nodejs-restful-api

How to create a RESTful CRUD API using Nodejs?
327 stars 166 forks source link

It's not RESTful it's just HTTP API #3

Open itaditya opened 6 years ago

dhawton commented 5 years ago

It is a RESTful API given its use of HTTP methods GET, POST, PUT, DELETE and URL formatting. https://en.wikipedia.org/wiki/Representational_state_transfer

itaditya commented 5 years ago

In that article some Architectural constraints are mentioned. These must be followed in order to classify an HTTP Api as a Rest Api and one such constraint is having HATEOAS.

Roy Fielding once said that if an Api doesn't follow HATEOAS then it is not REST.

My only argument is that atleast mention this somewhere.