Pearson interview question

API handling is a primary requirement