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

HTTP GET example

Using the resource from the server, we perform GET on the resource:

The server responds with a 200 status, which is OK:

The server returns the data that we have requested:

GET is idempotent, when we make the very first time request, we get a response. Making the same request will return the same response. This also ties into the REST principle of stateless. In order for this GET request to return the same data, the server should be stateless.

主站蜘蛛池模板: 东莞市| 象州县| 遵义县| 南乐县| 红安县| 文山县| 波密县| 论坛| 西贡区| 新和县| 镇远县| 华坪县| 嘉兴市| 交城县| 黄大仙区| 宜君县| 合川市| 哈尔滨市| 乐东| 雷波县| 宁陵县| 称多县| 黑水县| 白城市| 长宁县| 正镶白旗| 武汉市| 义马市| 宁城县| 萝北县| 即墨市| 汨罗市| 荣昌县| 天峨县| 永城市| 新巴尔虎右旗| 囊谦县| 犍为县| 黄浦区| 洱源县| 五莲县|