切换导航
新动弹计划
搜索
文章
动弹
排行榜
登录
注册
×
搜索
文章
动弹
热门关键词
重读《掌控习惯》
ChatGPT
Docker
Laravel
读书
跑步
#daily tips#
#稍后阅读#
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
暂无评论