Web访问Redis webdis

webdis 是一个简单的 Web 服务器,提供了 HTTP 接口来访问 Redis 服务器,使用了 hiredisjanssonlibevent, 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"}

软件首页:
https://github.com/nicolasff/webdis
原文地址:https://www.cnblogs.com/dunnice/p/2802701.html