kingluo commented on code in PR #8730: URL: https://github.com/apache/apisix/pull/8730#discussion_r1155061745
########## docs/en/latest/tutorials/expose-api.md: ########## @@ -111,7 +111,7 @@ curl "http://127.0.0.1:9180/apisix/admin/routes/1" \ After creating the Route, you can test the Service with the following command: ``` -curl -i -X GET "http://127.0.0.1:9080/get?foo1=bar1&foo2=bar2" -H "Host: example.com" +curl -i -X GET "http://127.0.0.1:9080/anything/get?foo1=bar1&foo2=bar2" -H "Host: example.com" ``` APISIX will forward the request to `http://httpbin.org:80/anything/foo?arg=10`. Review Comment: Yes, the route uri is `/anything/*`, so you have to use `/anything` as prefix. Besides your fix, you need to fix the url of this sentence to `http://httpbin.org:80/anything/get?foo1=bar1&foo2=bar`. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
