webdis 介绍
webdis 是一个简单的 Web 服务器,提供了 HTTP 接口来访问 Redis 服务器,使用了
hiredis,
jansson,
libevent, and http-
parser 等软件。
安装和使用:
make clean all ./webdis & curl http://127.0.0.1:7379/SET/hello/world → {"SET":[true,"OK"]} curl http://127.0.0.1:7379/GET/hello → {"GET":"world"} curl -d "GET/hello" http://127.0.0.1:7379/ → {"GET":"world"}