Skip to content

Don't forget to escape in windows #493

@Yikuanzz

Description

@Yikuanzz

❌ 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"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions