Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't forget to escape in windows #493

Open
Yikuanzz opened this issue Nov 27, 2024 · 0 comments
Open

Don't forget to escape in windows #493

Yikuanzz opened this issue Nov 27, 2024 · 0 comments

Comments

@Yikuanzz
Copy link

❌ Incorrect

If you run this:

grpcurl -d '{"name": "Go"}' -plaintext localhost:50051 helloworld.Greeter.SayHello

You will get the result:

Too many arguments.
Try 'grpcurl -help' for more details.

✔ Correct

The correct usage is this:

grpcurl -d "{\"name\":\"Go\"}" -plaintext localhost:50051 helloworld.Greeter.SayHello

You can get the expected result:

{
  "message": "Hello Go"
}
@Yikuanzz Yikuanzz changed the title Don't forget to escape in window Don't forget to escape in windows Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant