Re: [grpc-io] Re: gRFC P6: grpc-io-announce mailing list

2024-10-17 Thread 'Eric Anderson' via grpc.io
On Tue, Oct 15, 2024 at 7:13 AM Daz Wilkin wrote: > Since this is a new announcement list, please consider including some form > of metadata at the beginning of the message content to facilitate > (automated) parsing/routing. > The group was already configured to use [grpc-io-announce], but I ju

[grpc-io] gRPC Gateway and mapping question

2024-10-17 Thread Brad Post
I just want to make sure I understand the spec for gRPC and HTTP gateway correctly as I was trying to do have the resource ID replaced in a sub message. So this call: - HTTP: `PATCH /v1/keys/1234` - gRPC: `patch_key(Data:UpdateKeyRequestData(UpdateKeyId: "123"))` Is this possible? As seems tha

[grpc-io] HTTP and gRPC mapping question for grpc_gateway

2024-10-17 Thread Brad Post
Hello, Trying to get some clarification on the HTTP to gRPC mapping as I would like to do the following mapping when sending in resource ids: - HTTP: PATCH /v1/keys/1234 - gRPC: patch_key(Data: UpdateKeyRequestData(UpdateKeyId: `1234`)) But seems that due to the HTTP body rules and how gRPC is