Marli是Redis上快速简单的ReSTAPI服务器。
快速开始:
pip istall marli # istall marli to the pytho eviromet.marli-server start # start marli server - port: 5000请求方法:
METHODURLRESPONSEDESCRIPTIONGET/api/v1/[model]?start=1&ed=10[data]1-10retursthe1-10elemetsithe[model]GET/api/v1/[model]/1dataitemreturstheelemetwithid1GET/pig/200/500checkifserviceisupadcoectedPOST/api/v1/[model]/[data]addsdatatothemodelPUT/api/v1/[model]/1/[data]editdataDELETE/api/v1/[model]/1200deletethedataitemDELETE/api/v1/[model]/-deletecompletedataimodelDELETE/api/v1/[model]?force=1-deleteadresetmodel(startswithid=1







评论