- Building Microservices with Go
- Nic Jackson
- 63字
- 2021-07-15 17:28:08
GET
The GET method is used to retrieve a resource and should never be used to mutate an operation, such as updating a record. Typically, a body is not passed with a GET request; however, it is not an invalid HTTP request to do so.
Request:
GET /v1/cats HTTP/1.1
Response:
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: xxxx
{"name": "Fat Freddie's Cat", "weight": 15}
推薦閱讀
- 嵌入式軟件系統測試:基于形式化方法的自動化測試解決方案
- Oracle 11g從入門到精通(第2版) (軟件開發視頻大講堂)
- 架構不再難(全5冊)
- Hands-On Data Structures and Algorithms with JavaScript
- JavaScript+jQuery開發實戰
- 網頁設計與制作教程(HTML+CSS+JavaScript)(第2版)
- Production Ready OpenStack:Recipes for Successful Environments
- 新手學Visual C# 2008程序設計
- Instant Typeahead.js
- Python Network Programming Cookbook(Second Edition)
- MySQL數據庫管理與開發(慕課版)
- ArcGIS By Example
- C語言程序設計
- 運用后端技術處理業務邏輯(藍橋杯軟件大賽培訓教材-Java方向)
- R數據科學實戰:工具詳解與案例分析