Content-type: text/html Downes.ca ~ Stephen's Web ~ GraphQL

Stephen Downes

Knowledge, Learning, Community

GraphQL

Facebook, May 25, 2017

This technology, used already by Coursera and just adopted by GitHub, has the potential to replace REpresentational State Transfer (REST) as the primary language for Application Programming Interfaces (API). This is the way web servers communicate with each other when handling requests. The website explains the difference this way: "GraphQL queries access not just the properties of one resource but also smoothly follow references between them." In other words, it returns a set of data types, and not just one data type. As a result, "While typical REST APIs require loading from multiple URLs, GraphQL APIs get all the data your app needs in a single request."

Today: 2 Total: 93 [Direct link] [Share]

Image from the website
View full size


Stephen Downes Stephen Downes, Casselman, Canada
stephen@downes.ca

Copyright 2024
Last Updated: Nov 23, 2024 1:33 p.m.

Canadian Flag Creative Commons License.

Force:yes