Arcanys interview question

What is a RESTful API and how would you design it?