Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

What is the best way to call one API proxy from another API proxy ?

Let's say I have two API proxies

proxy1

-> resource1

-> resource2

proxy2

-> resource3

-> resource4

If I want to call "proxy2" from "proxy1". Or to be more precise I want to call "proxy3->resource3" from "proxy1->resource1".

As per the Service Callout policy documentation -> http://apigee.com/docs/api-services/reference/service-callout-policy, it says

"One consideration with the Service Callout policy is that you should not use it to make requests to other API proxies in the same organization, including recursive callouts back into the same API proxy. "

So, what are the other ways to do this ? If there are multiple ways, which is best way to do this ?

Solved Solved
0 12 3,165
1 ACCEPTED SOLUTION

adas
New Member

@AMAR DEVEGOWDA The best way would be to use proxy chaining in this case. Please find the below article on the recent proxy chaining feature that we introduced in Edge: https://community.apigee.com/content/kbentry/10959/apigee-edge-adds-proxy-chaining-support-internal-...

Kindly note, this is in internal-beta at this stage.

View solution in original post

12 REPLIES 12