Pregunta de entrevista de Genetec

What is a REST API and how would you implement one properly?