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

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}
主站蜘蛛池模板: 礼泉县| 天祝| 洪湖市| 克拉玛依市| 武安市| 博湖县| 临洮县| 景德镇市| 万年县| 北宁市| 达孜县| 岱山县| 和静县| 兴国县| 英德市| 北安市| 宁陵县| 塔城市| 昆山市| 弥渡县| 古田县| 定边县| 南澳县| 昆明市| 米泉市| 东乡族自治县| 平舆县| 清新县| 襄樊市| 兴仁县| 扶风县| 东城区| 梨树县| 土默特右旗| 贵州省| 洱源县| 怀宁县| 邵阳市| 枞阳县| 兰坪| 察雅县|