GRPC client with curl tool

4,921 views
Skip to first unread message

shikhach...@gmail.com

unread,
Nov 30, 2015, 5:51:12 AM11/30/15
to grpc.io
Hello , 

Can we send a  grpc client request to using the curl tool  ? 
-  I basically want to test  my secure client with different TLS, HTTP versions ,  extensions etc
- Could you a please share an example , how i can test a secure client with various TLS/HTTP options?


-Shikha

Louis Ryan

unread,
Nov 30, 2015, 2:00:29 PM11/30/15
to shikhach...@gmail.com, grpc.io
Can you be a bit more detailed about what options you want to play with? If you have an HTTP2 enabled version of curl this isn't too difficult but will you need to create a valid paylod for the GRPC service you want to call



-Shikha

--
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 grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/413ae28d-6692-442d-9a95-af65af011f84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

shikhach...@gmail.com

unread,
Nov 30, 2015, 2:08:39 PM11/30/15
to grpc.io, shikhach...@gmail.com
Hey Thank you so much Louis. 

I want to test my server with different TLS versions 1.1/1.2 , various extensions like  NPN , ALPN , even want to check its behavior with HTTP1.1.
Can you share some sample secure client code for my understanding to do this.

-Shikha

shikhach...@gmail.com

unread,
Dec 8, 2015, 2:56:07 PM12/8/15
to grpc.io, shikhach...@gmail.com
Hey , 

Can you share some examples for this , just for quick reference.
Let's suppose if i want to send the client request using TLS1.0 , then i have to build the client with TLSv10 method while creating the handshaker. 
Can i test various TLS version at run time using a tool (curl or may be a better tool if you wanna suggest )? just want to avoid client  code change.

Thanks
-Shikha

On Tuesday, 1 December 2015 00:30:29 UTC+5:30, Louis Ryan wrote:

Louis Ryan

unread,
Dec 14, 2015, 4:53:09 PM12/14/15
to Shikha Chowdhary, grpc.io
Reply all
Reply to author
Forward
0 new messages