Answer with JSON

Your task In the code box, write sendJson, answer GET /products with the products from products.json as JSON, and any other request with 404 and { "error": "Not found" }. Then press Run my code.

Getting the editor ready