Skip to content

Change the path though http header #424

Closed
@jinleileiking

Description

normal proto:

41 service Greeter {¬
  42   // Sends a greeting¬
  43   rpc SayHello (HelloRequest) returns (HelloReply) {¬
  44     option (google.api.http) = {¬
  46     post: "/Action/2017-01-01"¬
  47     body: "*"¬
  48   };¬
  49 }¬

For me, I need change the post: "/Action/2017-01-01" to post: "/{{Action}}/{{Version}}"

which Action and Version is http header.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions