IBM interview question

Spring boot rest api flow