This is an automated email from the ASF dual-hosted git repository.

monkeydluffy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new e0993adf2 docs: use HTTP/1.1 201 Created (#10707)
e0993adf2 is described below

commit e0993adf25150a4941e185e874e37756329daa95
Author: zll600 <[email protected]>
AuthorDate: Tue Dec 26 16:35:17 2023 +0800

    docs: use HTTP/1.1 201 Created (#10707)
---
 docs/en/latest/getting-started/configure-routes.md   | 2 +-
 docs/en/latest/getting-started/key-authentication.md | 2 +-
 docs/en/latest/getting-started/load-balancing.md     | 2 +-
 docs/en/latest/getting-started/rate-limiting.md      | 2 +-
 docs/zh/latest/getting-started/configure-routes.md   | 2 +-
 docs/zh/latest/getting-started/key-authentication.md | 2 +-
 docs/zh/latest/getting-started/load-balancing.md     | 2 +-
 docs/zh/latest/getting-started/rate-limiting.md      | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/docs/en/latest/getting-started/configure-routes.md 
b/docs/en/latest/getting-started/configure-routes.md
index ec02ba1af..19c163114 100644
--- a/docs/en/latest/getting-started/configure-routes.md
+++ b/docs/en/latest/getting-started/configure-routes.md
@@ -52,7 +52,7 @@ curl -i "http://127.0.0.1:9180/apisix/admin/routes"; -X PUT -d 
'
 }'
 ```
 
-You will receive an `HTTP/1.1 201 OK` response if the route was created 
successfully.
+You will receive an `HTTP/1.1 201 Created` response if the route was created 
successfully.
 
 ## Validate
 
diff --git a/docs/en/latest/getting-started/key-authentication.md 
b/docs/en/latest/getting-started/key-authentication.md
index f6e8a8383..4165536b7 100644
--- a/docs/en/latest/getting-started/key-authentication.md
+++ b/docs/en/latest/getting-started/key-authentication.md
@@ -74,7 +74,7 @@ curl -i "http://127.0.0.1:9180/apisix/admin/consumers"; -X PUT 
-d '
 }'
 ```
 
-You will receive an `HTTP/1.1 201 OK` response if the consumer was created 
successfully.
+You will receive an `HTTP/1.1 201 Created` response if the consumer was 
created successfully.
 
 ### Enable Authentication
 
diff --git a/docs/en/latest/getting-started/load-balancing.md 
b/docs/en/latest/getting-started/load-balancing.md
index 6f445bcda..520564f33 100644
--- a/docs/en/latest/getting-started/load-balancing.md
+++ b/docs/en/latest/getting-started/load-balancing.md
@@ -41,7 +41,7 @@ curl -i "http://127.0.0.1:9180/apisix/admin/routes"; -X PUT -d 
'
 }'
 ```
 
-You will receive an `HTTP/1.1 201 OK` response if the route was created 
successfully.
+You will receive an `HTTP/1.1 201 Created` response if the route was created 
successfully.
 
 :::info
 
diff --git a/docs/en/latest/getting-started/rate-limiting.md 
b/docs/en/latest/getting-started/rate-limiting.md
index 017c9409c..02050954d 100644
--- a/docs/en/latest/getting-started/rate-limiting.md
+++ b/docs/en/latest/getting-started/rate-limiting.md
@@ -43,7 +43,7 @@ curl -i 
"http://127.0.0.1:9180/apisix/admin/routes/getting-started-ip"; -X PATCH
 }'
 ```
 
-You will receive an `HTTP/1.1 201 OK` response if the plugin was added 
successfully. The above configuration limits the incoming requests to a maximum 
of 2 requests within 10 seconds.
+You will receive an `HTTP/1.1 201 Created` response if the plugin was added 
successfully. The above configuration limits the incoming requests to a maximum 
of 2 requests within 10 seconds.
 
 ### Validate
 
diff --git a/docs/zh/latest/getting-started/configure-routes.md 
b/docs/zh/latest/getting-started/configure-routes.md
index 6f6df3aee..f119d0073 100644
--- a/docs/zh/latest/getting-started/configure-routes.md
+++ b/docs/zh/latest/getting-started/configure-routes.md
@@ -50,7 +50,7 @@ curl -i "http://127.0.0.1:9180/apisix/admin/routes"; -X PUT -d 
'
 }'
 ```
 
-如果配置成功,将会返回 `HTTP/1.1 201 OK`。
+如果配置成功,将会返回 `HTTP/1.1 201 Created`。
 
 ## 验证
 
diff --git a/docs/zh/latest/getting-started/key-authentication.md 
b/docs/zh/latest/getting-started/key-authentication.md
index 022f020ae..aae7a9b77 100644
--- a/docs/zh/latest/getting-started/key-authentication.md
+++ b/docs/zh/latest/getting-started/key-authentication.md
@@ -74,7 +74,7 @@ curl -i "http://127.0.0.1:9180/apisix/admin/consumers"; -X PUT 
-d '
 }'
 ```
 
-如果消费者创建成功,你将得到返回 `HTTP/1.1 201 OK`。
+如果消费者创建成功,你将得到返回 `HTTP/1.1 201 Created`。
 
 ### 启用 Authentication
 
diff --git a/docs/zh/latest/getting-started/load-balancing.md 
b/docs/zh/latest/getting-started/load-balancing.md
index 2fdfd9270..095ab06fa 100644
--- a/docs/zh/latest/getting-started/load-balancing.md
+++ b/docs/zh/latest/getting-started/load-balancing.md
@@ -41,7 +41,7 @@ curl -i "http://127.0.0.1:9180/apisix/admin/routes"; -X PUT -d 
'
 }'
 ```
 
-如果路由创建成功,你将会收到返回 `HTTP/1.1 201 OK`。
+如果路由创建成功,你将会收到返回 `HTTP/1.1 201 Created`。
 
 :::info
 
diff --git a/docs/zh/latest/getting-started/rate-limiting.md 
b/docs/zh/latest/getting-started/rate-limiting.md
index 459634893..5f4350b03 100644
--- a/docs/zh/latest/getting-started/rate-limiting.md
+++ b/docs/zh/latest/getting-started/rate-limiting.md
@@ -43,7 +43,7 @@ curl -i 
"http://127.0.0.1:9180/apisix/admin/routes/getting-started-ip"; -X PATCH
 }'
 ```
 
-如果增加插件成功,你将得到返回 `HTTP/1.1 201 OK`。上述配置将传入流量的速率限制为每 10 秒最多 2 个请求。
+如果增加插件成功,你将得到返回 `HTTP/1.1 201 Created`。上述配置将传入流量的速率限制为每 10 秒最多 2 个请求。
 
 ### 验证
 

Reply via email to