File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,10 @@ You can test that your application is working as expected by running these [grpc
302
302
```` sh
303
303
grpcurl --plaintext localhost:9090 list
304
304
grpcurl --plaintext localhost:9090 list net.devh.boot.grpc.example.MyService
305
+ # Linux (Static content)
305
306
grpcurl --plaintext -d ' {"name": "test"}' localhost:9090 net.devh.boot.grpc.example.MyService/sayHello
307
+ # Windows or Linux (dynamic content)
308
+ grpcurl --plaintext -d " {\" name\" : \" test\" }" localhost:9090 net.devh.boot.grpc.example.MyService/sayHello
306
309
````
307
310
308
311
## Additional Topics <!-- omit in toc -->
Original file line number Diff line number Diff line change @@ -95,7 +95,8 @@ or (2) the target is not a grpc-server (e.g. a web-server).
95
95
````
96
96
97
97
or remove the ` negotiationType ` config completely as ` TLS ` is the default.
98
- 2 . Validate that the configured server is running and is a grpc-server using ` grpcurl ` or a similar tool.
98
+ 2 . Validate that the configured server is running and is a grpc-server using
99
+ [ ` grpcurl ` ] ( https://github.com/fullstorydev/grpcurl ) or a similar tool.
99
100
100
101
## Could not find TLS ALPN provider
101
102
You can’t perform that action at this time.
0 commit comments