Pergunta de entrevista da empresa Genetec

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