yeah that same only… and one more thing i saw i am getting the correct response in traces but when i hit the apigee url in browser it does not return the output. Do i need to add something ??
Yes sure i will accept the answer.
yeah that same only… and one more thing i saw i am getting the correct response in traces but when i hit the apigee url in browser it does not return the output. Do i need to add something ??
Yes sure i will accept the answer.
Tried the apigee url in postman also but here also body is empty while traces shows the body contents
Yes, after Service Callout you need to use an Assign Message policy to set the response of SC.
<AssignMessage name="set-dynamic-content">
<Set>
<Payload contentType="application/json">
{calloutResponse.content}
</Payload>
</Set>
<IgnoreUnresolvedVariables>false</IgnoreUnresolvedVariables>
</AssignMessage>
Yup worked now
Thank you!!