Reputation: 886
I have an endpoint that accepts two different operations, GET and DELETE. Can I route requests to the same endpoint to different services based on operation in my dispatch.yaml?
This is how I would like to do in my dispatch.yaml:
dispatch:
- url: "*/customer/example/uri/"
operation:GET
service: aservice
- url: "*/customer/example/uri/"
operation:DELETE
service: anotherservice
Upvotes: 0
Views: 52