You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "nic-6443 (via GitHub)" <gi...@apache.org> on 2023/04/13 13:07:49 UTC

[GitHub] [apisix] nic-6443 commented on a diff in pull request #8730: docs: (fix) tutorial expose your service

nic-6443 commented on code in PR #8730:
URL: https://github.com/apache/apisix/pull/8730#discussion_r1165496062


##########
docs/zh/latest/getting-started.md:
##########
@@ -257,10 +257,10 @@ curl "http://127.0.0.1:9180/apisix/admin/routes/1" -H "X-API-KEY: edd1c9f034335f
 我们已经创建了路由与上游服务,现在可以通过以下命令访问上游服务:
 
 ```bash
-curl -i -X GET "http://127.0.0.1:9080/get?foo1=bar1&foo2=bar2" -H "Host: httpbin.org"
+curl -i -X GET "http://127.0.0.1:9080/anything/get?foo1=bar1&foo2=bar2" -H "Host: httpbin.org"
 ```
 
-该请求将被 APISIX 转发到 `http://httpbin.org:80/anything/foo?arg=10`。
+该请求将被 APISIX 转发到 `http://httpbin.org:80/anything/get?foo1=bar1&foo2=bar2`。

Review Comment:
   These changes are incorrect.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org