Pergunta de entrevista da empresa Apple

graphql vs rest, which one is better?