Ce sont trois paradigmes d'API différents, chacun optimisé pour des contraintes différentes. Il n'y a pas de vainqueur universel — le bon choix dépend du consommateur, de la forme des données, et du réseau.
Les trois en un coup d'œil
REST GraphQL gRPC
Style resources + HTTP single query graph RPC (call methods)
Transport HTTP/1.1, JSON HTTP, JSON HTTP/2, Protobuf (binary)
Fetching fixed endpoints client picks fields fixed methods
Schema optional (OpenAPI) strong, typed strong, .proto
Browser native, cacheable needs client lib limited (needs proxy)
