We need to design my API proxy such that it would call two target endpoints sequentially.
Usecase flow :-
Client calls API proxy-->API proxy calls TargetEndpoint1-->TargetEndpoint1 gives response-->API proxy works on TargetEndpoint1 response-->API proxy calls TargetEndpoint2-->TargetEndpoint2 gives response-->API proxy works on TargetEndpoint2 response-->API proxy gives response to Client
Please let me know how can we achieve this ?
Solved! Go to Solution.
We can achieve this using one of the following ways:
Option #1Note: You can also use Javascript or Javacallout policy in step #1.
Option #2
We can achieve this using one of the following ways:
Option #1Note: You can also use Javascript or Javacallout policy in step #1.
Option #2
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |