- Building Microservices with Go
- Nic Jackson
- 66字
- 2021-07-15 17:28:08
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
推薦閱讀
- Implementing VMware Horizon 7(Second Edition)
- Java語言程序設計
- Python機器學習:數據分析與評分卡建模(微課版)
- Pandas Cookbook
- JavaScript語言精髓與編程實踐(第3版)
- 數據結構習題精解(C語言實現+微課視頻)
- PHP+MySQL網站開發項目式教程
- Mastering Business Intelligence with MicroStrategy
- 寫給程序員的Python教程
- uni-app跨平臺開發與應用從入門到實踐
- Clojure High Performance Programming(Second Edition)
- C語言程序設計教程
- C/C++代碼調試的藝術
- 開源網絡地圖可視化:基于Leaflet的在線地圖開發
- Learning QGIS(Second Edition)