Fetch Interview Question

Implement this backend api with these requirements...