diff --git a/readme-en.md b/readme-en.md index e409245b..20b3c450 100644 --- a/readme-en.md +++ b/readme-en.md @@ -174,7 +174,7 @@ goctl api -o greet.api you can check it by curl: ```shell - curl -i http://localhost:8888/greet/from/you + curl -i http://localhost:8888/from/you ``` the response looks like: diff --git a/readme.md b/readme.md index ed76d227..22292f7e 100644 --- a/readme.md +++ b/readme.md @@ -120,7 +120,7 @@ GO111MODULE=on GOPROXY=https://goproxy.cn/,direct go get -u github.com/tal-tech/ 默认侦听在 8888 端口(可以在配置文件里修改),可以通过 curl 请求: ```shell - curl -i http://localhost:8888/greet/from/you + curl -i http://localhost:8888/from/you ``` 返回如下: