aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/glossary/rest
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/glossary/rest
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/zh-cn/glossary/rest')
-rw-r--r--files/zh-cn/glossary/rest/index.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/files/zh-cn/glossary/rest/index.html b/files/zh-cn/glossary/rest/index.html
new file mode 100644
index 0000000000..6be2db2d84
--- /dev/null
+++ b/files/zh-cn/glossary/rest/index.html
@@ -0,0 +1,32 @@
+---
+title: REST
+slug: Glossary/REST
+tags:
+ - HTTP
+ - Rest
+ - 初学者
+ - 术语
+ - 架构
+translation_of: Glossary/REST
+---
+<p>具象状态传输(<strong>REST,</strong>Representational State Transfer) 是一组实现效率、可读性、还有可拓展分散式系统的软件架构设计规范。如果一个系统能坚守这些规范,那么它就是 RESTful。</p>
+
+<p>REST 的基本概念是资源(resource),例如文件能通过明确和标准的操作与格式,转换其状态与超文本的关系。通常在 {{Glossary("API","API's")}} 或服务能直接修改文件的类型,而非触发其他行为时,它们就称自己为 RESTful。</p>
+
+<p>由于万维网 {{glossary("World Wide Web","Web")}} 背后的 {{Glossary("HTTP")}} 协议也能传输文件和超文本链接,同时又充当了标准,简易的 HTTP API 虽然有时不一定遵守所有的 RESTful 规范,但它们还是会被称为 RESTful API、RESTful 服务,或者直接叫 REST 服务。初学者可以先假设 REST API 代表一个能通过标准 web 库和工具调用的 HTTP 服务。</p>
+
+<h2 id="了解更多">了解更多</h2>
+
+<h3 id="搞懂它">搞懂它</h3>
+
+<ul>
+ <li><a href="http://www.restapitutorial.com/">restapitutorial.com</a></li>
+ <li><a href="http://restcookbook.com/">restcookbook.com</a></li>
+</ul>
+
+<h3 id="基础知识">基础知识</h3>
+
+<ul>
+ <li>{{Interwiki("wikipedia", "Representational_state_transfer", "REST")}} on Wikipedia</li>
+ <li><a href="https://www.service-architecture.com/articles/web-services/representational_state_transfer_rest.html">REST Architecture</a></li>
+</ul>