To use the API Manager custom policy to make an endpoint call and store the response in the Property Mediator, follow these steps:
<policies>
<inSequence>
<log level="full"/>
<send>
<endpoint>
<address uri="http://example.com/api"/>
</endpoint>
</send>
</inSequence>
<outSequence>
<property name="responsePayload" expression="$body"/>
<log level="full"/>
<send/>
</outSequence>
</policies>
<property name="responsePayload" expression="get-property('responsePayload')"/>
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-05-20 11:00:00 +0000
Seen: 12 times
Last updated: Apr 20 '22
How can a custom CSS stylesheet be incorporated into Tailwind CSS?
How do you call a method in a custom view from a ViewModel?
After transitioning from Angular 7 to 8, why are custom fonts failing to load?
How can one develop a custom control for WPF?
What does the custom domain feature of Gatsby-Cloud entail?