hi all, checking if you have an example for running a pact consumer test using a twirp client?
I am referencing this example to setup the test
this is the error I am getting
Copy code
net/http: HTTP/1.x transport connection broken: malformed HTTP response
m
Matt (pactflow.io / pact-js / pact-go)
03/20/2023, 10:24 PM
not that I’m aware of. How does twirp work?
s
sandy
03/21/2023, 5:20 PM
twirp is a RPC framework that supports communication over both http/1.1 and http/2
we are using protobuf for defining our apis
i could try to setup an example twirp client based on the grpc example you have, if that would help
m
Matt (pactflow.io / pact-js / pact-go)
03/22/2023, 3:20 AM
You might need to share how you’ve set the example up. I think the gRPC plugin is not re-usable for this purpose, so you’d need to set the transport back to HTTP. What’s the payload you’re sending over it?