1. 首页
  2. 数据库
  3. 其它
  4. Go mux api 源码

Go mux api 源码

上传者: 2021-02-26 07:26:46上传 ZIP文件 3.03KB 热度 21次
用实现一个简单的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
下载地址
用户评论