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:

  1. http://localhost:60724/1 = {"id":1}
  2. http://localhost:60724/2 = {"id":2}
  3. 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?

Comments

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training