Fortinet Interview Question

Create this API in Node