2.利用postman测试DELETE请求删除json-server上的数据 deljsonjson-serverletmanpostpostmanserverstm 1.设置请求方式为DELETE和请求url为http://localhost:3000/users/5,图1 图1 2.点击send发送DELETE请求,可以看到ws中users中的id为5的数据已经被删除,图2;json-server中的数据也已经删除,图3 图2 图3