can some one post how to use Populate and lookup cache polices ?

Not applicable
 
Solved Solved
0 4 505
1 ACCEPTED SOLUTION

@VINEETH , Apigee Policy Docs explain same how to use. Did you refer the docs here & here ? Have you tried anything ? Do you see any issues ?

See an example here that exactly explains above query.

See attached policy that show Populate & Lookup cache example,

envname-rev2-2016-08-07.zip

Sample Call,

http://{ORGNAME}-{ENVNAME}.apigee.net/envname?cachedata=HeyHelloCacheThisData

3310-screen-shot-2016-08-07-at-101035-pm.png

View solution in original post

4 REPLIES 4

@VINEETH , Apigee Policy Docs explain same how to use. Did you refer the docs here & here ? Have you tried anything ? Do you see any issues ?

See an example here that exactly explains above query.

See attached policy that show Populate & Lookup cache example,

envname-rev2-2016-08-07.zip

Sample Call,

http://{ORGNAME}-{ENVNAME}.apigee.net/envname?cachedata=HeyHelloCacheThisData

3310-screen-shot-2016-08-07-at-101035-pm.png

@Anil Sagar, I followed the example as per the links provided by APIGEE, however I am not able to see the value "twitter-translate.apiAccessToken" variable when I do lookupcache.

@VINEETH, See updated answer & sample api proxy that demonstrates both policies.

Thanks Anil !!