Go mux api 源码
用实现一个简单的RESTful API。 数据是购物清单。 该API使我们能够: 获取所有购物清单 将购物商品过帐到列表 从列表中删除购物商品(使用其ID) 邮政: curl -X POST -H " Content-Type: application/json " -d ' {"name": "toilet paper"} ' http://localhost:8080/shopping-items 得到: curl -X GET http://localhost:8080/shopping-items 删除: curl -X DELETE http://localhost
下载地址
用户评论