Hi Luigi, I have tested endpoint using https://github.com/RussellLuo/grpc-pytools However I have not used gzip myself.
Cheers, Dheeraj On Sat, Oct 28, 2017 at 12:52 PM, Luigi Riefolo <[email protected]> wrote: > Hi, > > I have a gRPC gateway that uses gzip compression. > Is there a way to test the gateway's endpoints using curl? > > The enpoint being tested accepts GET requests and I've tried running: > curl -H "Content-Encoding: gzip" local host:8080/v1/alfa/get > > but I get a "grpc: the client connection is closing", "code": 9. > Code 9 is FailedPrecondition. > > Thanks for the help. > > -- > You received this message because you are subscribed to the Google Groups " > grpc.io" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/grpc-io. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/grpc-io/dd3b5708-5217-45b2-9e31-d45b66283bed%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAE9%3DJNLbq21bctZxVnahN_yD1CTkUKPpF5a5ZZoV7URoo7t7dQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
