
GraphQL was created inside Facebook and released in 2015.
Trade-offs
REST is easy to cache; GraphQL is easy to compose. Both run on top of HTTP.
Two ways to talk to a server. Neither is universally better.

GraphQL was created inside Facebook and released in 2015.
REST is easy to cache; GraphQL is easy to compose. Both run on top of HTTP.