Closed JonnoKiwi closed 3 years ago
Also, @JonnoKiwi would be good to give a pro and con for both.
I've added my conclusion that is listing some pros and cons
@JonnoKiwi Also, let's get this in docs/http-api-integration
with docs/images/graphql-vs-restful.png
To be super clear the quote below is wrong
“designing a RESTful system requires creating endpoints for each action”
- [POST] /users
- [ GET ] /users
- [ PATCH ] /users
are all one “endpoint” with three different verbs. Now you may have three different Controllers (see Laravel for an example)
I've addressed this comment and changed the wording.
I've also relocated this writing and the image
Apart of progress plan "Explaining GraphQL vs RESTful"