Cisco interview question

How would you structure a REST API?