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: 0 Total: 1098 [Direct link] [Share]

Image from the website
View full size


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

Copyright 2024
Last Updated: Apr 19, 2024 12:50 a.m.

Canadian Flag Creative Commons License.

Force:yes