IBM interview question

make an http request and parse json