diff --git a/services/httpoverrpc/README.md b/services/httpoverrpc/README.md index 1e1eaa0e..8070a227 100644 --- a/services/httpoverrpc/README.md +++ b/services/httpoverrpc/README.md @@ -33,7 +33,7 @@ Note: Examples: ```bash -# send get request to https://localhost:9090/hello +# send get request to https://10.1.23.4:9090/hello httpoverrpc get --hostname 10.1.23.4 --protocol https 9090 /hello # send get request with url http://example.com:9090/hello, but deal to localhost:9090 httpoverrpc get --hostname example.com --dialAddress localhost:9090 9090 /hello diff --git a/services/httpoverrpc/client/client.go b/services/httpoverrpc/client/client.go index 7497d037..01c19f0e 100644 --- a/services/httpoverrpc/client/client.go +++ b/services/httpoverrpc/client/client.go @@ -237,7 +237,7 @@ func (*getCmd) Usage() string { Make a HTTP request to a specified port on the remote host. Examples: - # send get request to https://localhost:9090/hello + # send get request to https://10.1.23.4:9090/hello httpoverrpc get --hostname 10.1.23.4 --protocol https 9090 /hello # send get request with url http://example.com:9090/hello, but dial to localhost:9090 httpoverrpc get --hostname example.com --dialAddress localhost:9090 9090 /hello