- 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
推薦閱讀
- C#高級編程(第10版) C# 6 & .NET Core 1.0 (.NET開發(fā)經(jīng)典名著)
- C++案例趣學(xué)
- Delphi程序設(shè)計基礎(chǔ):教程、實(shí)驗(yàn)、習(xí)題
- 深入淺出DPDK
- Python機(jī)器學(xué)習(xí)算法與實(shí)戰(zhàn)
- .NET 3.5編程
- BIM概論及Revit精講
- Multithreading in C# 5.0 Cookbook
- 區(qū)塊鏈技術(shù)與應(yīng)用
- Mastering Git
- Kotlin開發(fā)教程(全2冊)
- RubyMotion iOS Develoment Essentials
- Mastering Adobe Captivate 7
- 高質(zhì)量程序設(shè)計指南:C++/C語言
- Roslyn Cookbook