This is an automated email from the ASF dual-hosted git repository. wenming pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git
The following commit(s) were added to refs/heads/master by this push: new 56ef702 doc: Update key-auth-cn.md (#947) 56ef702 is described below commit 56ef702059924a6e21c2e54d9f35a1e66b35e9cf Author: 琚致远 <juzhiy...@apache.org> AuthorDate: Sun Dec 8 10:20:46 2019 +0800 doc: Update key-auth-cn.md (#947) --- doc/plugins/key-auth-cn.md | 2 +- doc/plugins/key-auth.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/plugins/key-auth-cn.md b/doc/plugins/key-auth-cn.md index 3d67b62..93cd7b7 100644 --- a/doc/plugins/key-auth-cn.md +++ b/doc/plugins/key-auth-cn.md @@ -84,7 +84,7 @@ curl http://127.0.0.1:9080/apisix/admin/routes/1 -X PUT -d ' 下面是一个正常通过 `key-auth` 验证的请求: ```shell -$ curl http://127.0.0.2:9080/index.html -H 'apikey: keykey' -i +$ curl http://127.0.0.2:9080/index.html -H 'apikey: auth-one' -i HTTP/1.1 200 OK ... ``` diff --git a/doc/plugins/key-auth.md b/doc/plugins/key-auth.md index 743b9ea..33153ae 100644 --- a/doc/plugins/key-auth.md +++ b/doc/plugins/key-auth.md @@ -89,7 +89,7 @@ curl http://127.0.0.1:9080/apisix/admin/routes/1 -X PUT -d ' Here is a correct test example: ```shell -$ curl http://127.0.0.2:9080/index.html -H 'apikey: keykey' -i +$ curl http://127.0.0.2:9080/index.html -H 'apikey: auth-one' -i HTTP/1.1 200 OK ... ```