×
Falcon
2023-01-26 16:59
#稍后阅读# #daily tips# 一个为redis提供http api接口的项目,以json格式返回:https://github.com/nicolasff/webdis

$ 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"}
0

暂无评论