Processing data

As with most web servers that accept and process requests from clients, we have a very similar thing here. We just have granularized things at a macro level. The overall flow of the process is shown in the following diagram:

 Processing data

Let's understand the process by taking any of the sample endpoints through each of the sections in the preceding diagram. You can find the whole sample in chapter-4/products-catalog service:

  1. An API request to put a specific product based on the attributes of the product is sent to the server, http://localhost:8081/products/add-update-product:
body: {//various product attributes}
  1. The ...

Get TypeScript Microservices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.