Welcome to the Linux Foundation Forum!

Lab 7.1 - incorrect part in the text of the exercise

Options

Hello!

I think that the text of the exercise of the Lab 7.1 contains a small incorrect sentence at page 4 that can be misleading for the reader

From the part of the text highlighted in the screenshot above it seems that the id received from the first request can be used directly to get both the associated boat and brand from the other services. Indeed, after the first text reading i used a Promise.all([...]) getting the wrong result, then by reading it again i understood the correct order to make the requests.

Comments

  • davidmarkclements
    Options

    hey thanks @penguintheorem

    It's been clarified to

    Create a service which accepts GET requests at http://localhost:[PORT]/[id]. Use the incoming id from the GET request to make a request to the Boat service and use data from the Boat service to make a request to the Brand service to retrieve associated brand data.

This discussion has been closed.

Categories

Upcoming Training