Pergunta de entrevista da empresa nPlan

Why would you use REST over GraphQL or vice versa?