企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
#RESTfulAPI的设计实践 一个例子: get https://api.wangzenghui.com/v1/lists 获得文章列表 post https://api.wangzenghui.com/v1/lists 增加一个文章 get https://api.wangzenghui.com/v1/lists/ID 获得指定ID的文章 post https://api.wangzenghui.com/v1/lists 更新指定ID文章 > 参考 1.[RESTful API 设计指南~阮一峰](http://www.ruanyifeng.com/blog/2014/05/restful_api.html) 2.[githubAPI设计](https://api.github.com/) 3.[理解RESTful架构~阮一峰](http://www.ruanyifeng.com/blog/2011/09/restful.html)