Infosys interview question

rest web services