well-typed / grapesy

Native Haskell gRPC client and server based on `http2`
Other
31 stars 4 forks source link

Overriding Path (using `google.api.http`) #85

Closed domenkozar closed 4 months ago

domenkozar commented 4 months ago

I'm using an API that uses HTTP/JSON compatibility layer and thus needs a way to override Path: https://cloud.google.com/endpoints/docs/grpc/transcoding

https://github.com/grpc-ecosystem/grpc-gateway

domenkozar commented 4 months ago

Hacked up for testing https://github.com/domenkozar/grapesy/commit/ced287cfe4b24d3fe7f47803a0e41b18c78e9462

domenkozar commented 4 months ago

Seems like I went down the wrong path and what was missing was a Host header.