Manulife interview question

Explain your process of writing an API using a webframework