Welcome to the Linux Foundation Forum!

Lab 7.1 - Implement a Data Aggregating Service


When I start the brand-service.js I don't get the expected output in my browser:

http://localhost:60724/1 = {"id":1}
http://localhost:60724/2 = {"id":2}
http://localhost:60724/3 = {"id":3,"name":"Boston Whaler"}

node validate will fail because it expects ```
{ id: 1, brand: 'Chaparral', color: 'Red' }

I don't think it's wise to edit the supplied scripts, but it seems like there might be a bug there?



Upcoming Training