Infosys interview question

how you handle custom, what is REST