GraphQL is a query language for your API, and a server-side runtime for executing queries by using a type system you define for your data.
Both GraphQL and REST send HTTP requests and receive HTTP repossess.
GET /graphql?query={book(id: 3){title, authors {name}})
The API provider figures it out in the backend how to get all of this information and return a JSON response.