SAP interview question

What is the best practice to design a REST API?