AnsweredAssumed Answered

How can I store a static body in the Service?

Question asked by dpatel93 on Aug 14, 2018
Latest reply on Aug 27, 2018 by Mark_HE

I have a service in my gateway that wil first route to another identy server to grab a Oauth token, and then will come back and rout again to another endpoint. On the last endpoint I need to attach token and a customized static body. How can I store a static body in the Service?

 

So far I know that I can store a custom header in the route assertion, but in this scenario I need to know how to added the Authorization header, and also a custom static body, that is stored in the service it self. This body would not come from the initial request, it has to be added on.

Outcomes