What is GraphQL and how does it differ from REST?

  • A communication protocol
  • A database management system
  • A programming language for web development
  • A query language for databases
GraphQL is a query language for your API, and it differs from REST by allowing clients to request exactly the data they need. Unlike REST, which often over-fetches or under-fetches data, GraphQL enables clients to specify their data requirements, resulting in more efficient and flexible data retrieval.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *