rem icon indicating copy to clipboard operation
rem copied to clipboard

This is not a REST API

Open ghost opened this issue 6 years ago • 0 comments

The definition of REST contains many mandatory constraints described here: https://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm REST APIs are hypertext driven https://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven while your API is not. I understand the confusion, because people learned REST from stackoverflow and from tutorials have only a vague and false idea of what REST is. Learning how it should work is hard, implementing it is even a lot harder. What we really have here is just some sort of CRUD API. https://www.bmc.com/blogs/rest-vs-crud-whats-the-difference/

ghost avatar Dec 04 '18 20:12 ghost