Hi @Mayuri Barve,
I'm afraid I can't say which approach is better, and I think it will depend on your actual requirement.
For example, in the first approach, you need to continuously receive the update stream data to determine whether to redirect (polling mechanism), in which case it may respond a bit slower. But if you need to process other business logic before redirecting, then this method is feasible.
In approach two, I'm not sure how the SR system you mentioned works, but I think that if you call the Web Api directly from the SR system, its response time will be a bit faster, because it just needs to respond and perform redirects instead of constantly fetching the stream data or execute subsequent logic. In this case, it requires coordination between the two applications and you may need to consider its security issues.
If the answer is the right solution, please click "Accept Answer" and kindly upvote. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Yes it is hosted on Azure App Service
Just checking in to see if you had got a chance to see the previous response.
If the answer helped (pointed you in the right direction) > please click Accept Answer
Or please share the requested/more info to help you better.