84.51° interview question

Design a basic REST endpoint