Pergunta de entrevista da empresa AT&T

create a GET http request to some api, get a json and find a sum of inner array