GraphQL lets you ask for what you want in a single query, saving bandwidth and reducing waterfall requests. It also enables clients to request their own unique data specifications. In the summer of 2019, I wanted to make a case to migrate from our existing RESTful API architecture to GraphQL at StockX.
When should we use GraphQL?
GraphQL lets you ask for what you want in a single query, saving bandwidth and reducing waterfall requests. It also enables clients to request their own unique data specifications. In the summer of 2019, I wanted to make a case to migrate from our existing RESTful API architecture to GraphQL at StockX.
Should I use GraphQL or REST 2021?
GraphQL offers a more efficient and flexible way for building APIs and scaling. While REST has been (and still is) a popular way of exposing data to applications, the growing complexity and evolution of development have made it less viable in a range of scenarios.