We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello!
I'm trying out grpcurl to test a grpc endpoint. I'm having a hard time doing so cause grcpurl does not support passing a input file.
Please add a way or document (if it already exists) how to load input data from a file.
If I pass a large json either directly with -d "myjson" or with the -d @ .. <<EOM way, I always get "too many arguments" as an error.
-d "myjson"
-d @ .. <<EOM
The text was updated successfully, but these errors were encountered:
Hey @domdorn!
I was stuck on the same issue as well, have you tried -d "$(cat my.json)" ? (double quotes mandatory to prevent word splitting)
-d "$(cat my.json)"
A little hacky but ended up working for me!
Sorry, something went wrong.
awesome @TeoZosa , this works!
document how to pass payload from file, fixes fullstorydev#279
ec3c704
No branches or pull requests
Hello!
I'm trying out grpcurl to test a grpc endpoint. I'm having a hard time doing so cause grcpurl does not support passing a input file.
Please add a way or document (if it already exists) how to load input data from a file.
If I pass a large json either directly with
-d "myjson"
or with the-d @ .. <<EOM
way, I always get "too many arguments" as an error.The text was updated successfully, but these errors were encountered: