【发布时间】:2015-01-08 22:08:03
【问题描述】:
我想使用 EhCache 独立服务器。我下载了包并使用 bin 目录中的 startup.sh 启动了服务器。服务器成功启动。此外,我想使用 REST 创建(PUT)一些缓存数据。我尝试在终端中使用:
回显“Hello World”| curl -S -T - http://localhost:8080/ehcache/rest/sampleCache2/3
如示例http://ehcache.org/documentation/user-guide/cache-server 中给出的,但它给了我错误:禁止访问资源。
创建新资源的正确方法是什么?
【问题讨论】:
标签: ehcache