AT&T Interview Question

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