fix doc errors

This commit is contained in:
kevin
2020-11-24 10:39:38 +08:00
parent 95a9dabf8b
commit 702e8d79ce
2 changed files with 2 additions and 2 deletions

View File

@@ -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:

View File

@@ -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
```
返回如下: