MKCL interview question

How REST API works?