curl -v -H by-pass = true -u rsekhar@beachbody.com 'https://api.enterprise.apigee.com/v1/organizations/beachbody/environments/test/caches/beachbodyCache/entries/beachbody__test__trainers-test-dev4-v1__default__apiProxyURI__/tony-horton?action=clear' -X POST
我使用代理proxy.pathsuffix
和request.uri
缓存密钥: beachbody__test__trainers-test-dev4-v1__default__apiProxyURI __ / tony-horton
答案 0 :(得分:0)
我得到了答案。使用' /'采用编码格式,即%2F
请求: curl -v -H by-pass = true -u rsekhar@beachbody.com' https://api.enterprise.apigee.com/v1/organizations/beachbody/environments/test/caches/beachbodyCache/entries/beachbody__test__trainers-test-dev4-v1__default__apiProxyURI__%2Ftony-horton?action=clear' -X POST
使用这种方式我们可以从终端
清除特定的Apigee缓存