How to send a string from AngularJS to multiple Springboot Microservice(s)?

Viewed 32

I can't share code because I'm working on an internal school project. But I am trying to learn how to pass a simple piece of data in the body of an Angular application across Spring Boot Applications, sequentially.

This is the application flow:

  1. Angular JS/Typescript front end needs to send a defined number=123 to Spring Boot Microservice A
  2. Then Spring Boot Microservice A needs to send that defined number=123 to Microservice B

Essentially, the defined number=123, which is initialized in Angular, needs to make a POST request to Microservice A, then Microservice A needs to send this same number to Microservice B.

Thus, Microservice A acts as a messenger - how can I get Microservice A to retrieve this defined number from AngularJS and then pass it to Microservice B, if it's only job is to act as a messenger?

0 Answers
Related