GitHub interview question

Create basic API in language of your choice