Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 922 Bytes

File metadata and controls

26 lines (16 loc) · 922 Bytes

express_restapi

express+mongoose路由分离搭建restful api,对用户进行增删改查。

##工具 webstrom Postman (restful测试工具,下载地址和教程 https://my.oschina.net/u/2480757/blog/750325

##使用 ###1、获得所有用户

Image text

###2、根据id获得用户 Image text

###3、插入用户 Image text

Image text

###4、修改用户 Image text

Image text