Abstract interview question

Explain the how i build a REST API