IBM Interview Question

Use REST API to parse input