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

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}
主站蜘蛛池模板: 唐河县| 汉阴县| 淅川县| 清徐县| 泰州市| 定陶县| 莱芜市| 城固县| 高雄市| 从化市| 宝丰县| 宁都县| 高要市| 江北区| 庆元县| 商丘市| 巴彦淖尔市| 斗六市| 临泽县| 合山市| 徐汇区| 建德市| 怀远县| 武鸣县| 湖北省| 浦城县| 美姑县| 泾川县| 灌南县| 东明县| 剑河县| 通河县| 钦州市| 遂川县| 岳普湖县| 神农架林区| 奎屯市| 云和县| 宜宾市| 彭州市| 青阳县|