Chaining target endpoints?

I know there's proxy chaining, but what I'm trying to do all falls within a single API Proxy. The target endpoints in question are Apigee Management APIs.
GET https://apigee.googleapis.com/v1/{name=organizations/*/appgroups/*/apps/*} and
PUT https://apigee.googleapis.com/v1/{name=organizations/*/appgroups/*/apps/*} respectively.

The PUT operation needs to happen conditionally, based on the data received from the GET.  I know I can make a Javascript callout and get it that way. I'm not opposed to this, but for the moment have a networking issue that's keeping me from it doing that. Also worried about a performance hit.  Digging around, nothing really jumps out.  Is this a hard no?

Thanks.

Solved Solved
5 2 106
1 ACCEPTED SOLUTION

You can make a service call out to the get call and then use the put as target with condition that get response has valid contents

View solution in original post

2 REPLIES 2

You can make a service call out to the get call and then use the put as target with condition that get response has valid contents

Thank you. A colleague pointed that out and I was just getting around to testing it. It does seem to be the way to go!