Skip to content

cornelmarck/connectrpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

connectrpc

Based on: https://connectrpc.com/docs/go/getting-started/

Start the server: make run

Invoke the Unary endpoint:

HTTP/1:

curl \
    --header "Content-Type: application/json" \
    --data '{"message": "Hello world!"}' \
    http://localhost:8080/proto.v1.EchoService/EchoUnary

gRPC:

bin/grpcurl \
    -protoset <(bin/buf build -o -) -plaintext \
    -d '{"message": "hello world!"}' \
    localhost:8080 proto.v1.EchoService/EchoUnary

About

Exploring ConnectRPC and Protobuf tooling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors