snowleopard331 commented on issue #11260:
URL: https://github.com/apache/apisix/issues/11260#issuecomment-2126065029

   > `grpc-transcode` is for transcoding between regular HTTP requests and 
gRPC, so it is expected that the upstream response is returned in JSON.
   > 
   > It sounds like you are not looking for any transcoding but to have APISIX 
proxy for your request to gRPC upstream service, is that correct?
   
   At present, I am using APISIX to proxy my upstreams, and the client uses 
JSON as the HTTP body. Currently, grpc-transcode is enabled, so the client's 
input and output are both in JSON format. Now the client wants to use protobuf 
as the input and output, but I don't know how to configure it. I have tried 
some solutions, but none have been successful; using HTTP+PB requests, the 
upstream can receive and process them, but APISIX always returns JSON to the 
client. What I want is a route configuration that can return protobuf. Thanks


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to