Skip to content

Commit

Permalink
Add -insecure to first example to demonstraty the need for flag when …
Browse files Browse the repository at this point in the history
…testing or not using secure connections
  • Loading branch information
bojand committed Dec 11, 2018
1 parent 63fb284 commit 846038c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ This can be useful to inject variable information into the data or metadata payl
<a name="examples"></a>
## Examples

A simple unary call:
A simple insecure unary call:

```sh
ghz -proto ./greeter.proto -call helloworld.Greeter.SayHello -d '{"name":"Joe"}' 0.0.0.0:50051
ghz -insecure -proto ./greeter.proto -call helloworld.Greeter.SayHello -d '{"name":"Joe"}' 0.0.0.0:50051
```

A simple unary call with metadata using template actions:
Expand Down

0 comments on commit 846038c

Please sign in to comment.