官术网_书友最值得收藏!

DELETE

The DELETE verb is used when we want to remove a resource, generally we would pass the ID of the resource as part of the path rather than in the body of the request. This way, we have a consistent method for updating, deleting, and retrieving a document.

Request:

DELETE /v1/cats/12343 HTTP/1.1 
Content-Type: application/json
Content-Length: 0

Response:

HTTP/1.1 204 No Body 
Content-Type: application/json
Content-Length: 0
主站蜘蛛池模板: 鄯善县| 常州市| 潢川县| 体育| 老河口市| 盐边县| 伊宁县| 洪泽县| 芮城县| 杭锦后旗| 沂源县| 固镇县| 栾川县| 安徽省| 临漳县| 娱乐| 岐山县| 大埔县| 柘城县| 马公市| 迁西县| 望城县| 新晃| 老河口市| 景谷| 长武县| 抚松县| 申扎县| 南陵县| 青冈县| 台北县| 茶陵县| 巴塘县| 绥芬河市| 湄潭县| 台中市| 榆社县| 河南省| 洛川县| 甘肃省| 平遥县|