DEV Community

Discussion on: GraphQL vs REST - a vending machine example

Collapse
 
thandy1212 profile image
Taylor Handy

This is a bit nitpicking, but your REST example is actually an RPC example. It's not REST unless it adheres to HATEOAS

Collapse
 
calinbolea profile image
Calin Bolea

meh, it can also be level 1 or 2 of the Richardson Maturity Model.

Collapse
 
vanto profile image
Tammo van Lessen
Collapse
 
tundeajibawo profile image
Tunde Ajibawo

Spot on

Collapse
 
acsbendi profile image
Bendegúz Ács

What do you mean by that? Should there be a "links" field for every post in the example response?