dubbo
dubbo copied to clipboard
triple+rest support custom uri like "proto annotations"
I use curl to send rest request in triple port ,the command like
curl http:/xxxxxxx/org.apache.dubbo.samples.tri.grpc.Greeter/greet -H "Content-Type: application/json" -X POST -d '{"name":"test"}'
But I can't change the uri, can dubbo support change the uri.May like this: https://cloud.google.com/endpoints/docs/grpc/transcoding, use "proto annotations" .
So the dubbo framework user can custom the uri.
@icodening @EarthChen @suncairong163 PTAL
We can support this feature when merging rest protocol into triple protocol.
@xiaoyuuuuuupeng
ok will try it