How Can I post the response of my API proxy into another service using Service callout policy?

Hi Team,

I am connecting Apigee with splunk by using the following link.

https://community.apigee.com/articles/13298/log-messages-into-splunk.html

For that I created a service callout policy with the following code

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> Log to Splunk false Splunk PUT-SPLUNK-CODE_HERE {"event":"Logged from EDGE"} services/collector/event POST calloutResponse https://52.23.227.40:8088/

But here we mention the static message in

How should I get the response of my proxy as the output and post that response into splunk.

Please let me know

HI @A.Anu Manasa

The response.content variable should have the response payload. You can use that variable in your SC