HTTP Concepts

GraphQL

A query language and runtime for APIs developed by Facebook. Unlike REST, which exposes multiple endpoints, GraphQL uses a single endpoint where clients specify exactly the data they need. Queries, mutations, and subscriptions replace REST's method-based semantics. GraphQL typically returns HTTP 200 for all responses, embedding errors in the response body rather than using HTTP status codes.

Protocoles associés

Voir aussi