Infosys interview question

Rest controller vs Controller in spring