Skip to content Skip to sidebar Skip to footer

Can't Make GRPC Work With Python Requests Rest Api Call

Need help in wiring the grpc client/server to listen to rest requests. Want to execute a post request Any help is much appreciated.. digestor.proto import 'google/api/annotations.p

Solution 1:

I presume you are using the GCP Transcoding feature. If you haven't tried the tutorial, please try to go through the example steps.

The gRPC protocol is based on HTTP2 instead of HTTP1. The requests library is an HTTP1. The exception reported by requests looks like protocol mismatch. So, it is likely that there is an issue in your GCP Endpoints setting.


Post a Comment for "Can't Make GRPC Work With Python Requests Rest Api Call"