SAP Interview Question

Implement two endpoints of a web API in js/ts