From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/zh-cn/web/http/methods/get/index.html | 71 +++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 files/zh-cn/web/http/methods/get/index.html (limited to 'files/zh-cn/web/http/methods/get') diff --git a/files/zh-cn/web/http/methods/get/index.html b/files/zh-cn/web/http/methods/get/index.html new file mode 100644 index 0000000000..5f59bd2423 --- /dev/null +++ b/files/zh-cn/web/http/methods/get/index.html @@ -0,0 +1,71 @@ +--- +title: GET +slug: Web/HTTP/Methods/GET +tags: + - HTTP + - 参考 + - 请求方法 +translation_of: Web/HTTP/Methods/GET +--- +
{{HTTPSidebar}}
+ +

HTTP GET 方法请求指定的资源。使用 GET 的请求应该只用于获取数据。

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
请求是否有主体
成功的响应是否有主体
{{Glossary("安全")}}
{{Glossary("幂等")}}
{{Glossary("可缓存")}}
HTML 表单是否支持
+ +

语法

+ +
GET /index.html
+
+ +

规范

+ + + + + + + + + + + + +
规范标题
{{RFC("7231", "GET", "4.3.1")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

浏览器兼容性

+ +

{{Compat("http.methods.GET")}}

+ +

另见

+ + -- cgit v1.2.3-54-g00ecf