- Building Microservices with Go
- Nic Jackson
- 63字
- 2021-07-15 17:28:08
PUT
The PUT method is used to update a mutable resource and must always include the resource locator. The PUT method calls are also idempotent in that multiple requests will not mutate the resource to a different state than the first call.
Request:
PUT /v1/cats HTTP/1.1
Content-Type: application/json
Content-Length: xxxx
{"name": "Thomas", "weight": 7 }
Response:
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 0
推薦閱讀
- 企業(yè)級Java EE架構(gòu)設(shè)計精深實踐
- Visual C++實例精通
- 基于免疫進化的算法及應(yīng)用研究
- Implementing Cisco Networking Solutions
- Working with Odoo
- MySQL入門很輕松(微課超值版)
- GameMaker Essentials
- Mastering HTML5 Forms
- UI設(shè)計基礎(chǔ)培訓(xùn)教程(全彩版)
- JavaScript悟道
- FusionCharts Beginner’s Guide:The Official Guide for FusionCharts Suite
- Offer來了:Java面試核心知識點精講(框架篇)
- Kotlin入門與實戰(zhàn)
- 微信公眾平臺服務(wù)號開發(fā):揭秘九大高級接口
- 精通Spring MVC 4