You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
传统接口 RESTful 操作
GET getPost?id=1 GET /post/1 获取推文
POST editPost PUT /post/1 修改推文
POST deletePost DELETE /post/1 删除推文
POST addPost POST post/ 新增推文
总结来说,RESTful是一种客户端与服务端交互时的WEB API的风格,面向资源,url不包含动词。
第73天 说说你对RESTful的理解
The text was updated successfully, but these errors were encountered: