WareIQ Interview Question

Consume a api and parse the payload