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:
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:
- 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}
- The ...