探讨一下restful api的批量删除写法
大家restful api的批量删除的路由都是怎么写的呢?一起探讨一下
自己的写法:
// 删除
DELETE /api/articles/1
// 批量删除
DELETE /api/articles/1,2,3/batch
推荐文章: