I'm creating a cache clear proxy where the intention is that client will send an array of codes in a query parameter and it will clear all the apigee cache entries having the codes.
Proxy request is to be /cache/invalidate?key=value1,value2,value3.
In the /invalidate resource I have put in a invalidate cache policy where the cache key is taking the query param values.
This works if request comes like key=value1 or key=value2 i.e. only one parameter. Since I can't loop in Apigee and how do you suggest I do this?
User | Count |
---|---|
7 | |
2 | |
2 | |
2 | |
1 |