REST was not the first protocol for sending information over the web. But for over a decade, it has dominated the API landscape.

More recently, GraphQL, a newcomer designed by Facebook, has become more and more popular. It is intended to correct some of REST’s weaknesses, but no technology is perfect.

What are the benefits of GraphQL over REST, and why would you use one over the other in your project?

#graphql #rest #api

GraphQL vs. REST – Benefits and Code Example Comparisons
1.80 GEEK