i am planning to call following message using grpcurl. How to send a .google.protobuf.BytesValue via grpcurl?
message TestRequest {
.google.protobuf.BytesValue TestJson = 1;
string Temp = 2;
}
i am planning to call following message using grpcurl. How to send a .google.protobuf.BytesValue via grpcurl?
message TestRequest {
.google.protobuf.BytesValue TestJson = 1;
string Temp = 2;
}
BytesValues
is a message (wrapper) for bytes
.
Try Base64 encoding the bytes
field and passing it that way.
Protobuf's JSON encoding of bytes is a Base64 string.