How to call apigee policy from a loop

Not applicable

I want to call Populate Cache Policy (or any other policy) with in a loop so that I can dynamically create key fragments and store various values in cache. Can somebody please suggest way to implement same.

2 1 472
1 REPLY 1

Not applicable

@Karan Vij , You can have your populate cache in a different internal apiproxy and call that in your main proxy. For more info check this https://community.apigee.com/content/kbentry/10959/apigee-edge-adds-proxy-chaining-support-internal-...l

or you can use the https://www.npmjs.com/package/apigee-access if you planning to use node.js.