Currently, you can configure Hosts, Uris, Methods, to route to Upstream Server, based on which you can add “header” value routing?
e.g.
if (request_headers.ANDROID_VERSION is 4.1.1) {
redirect to /mockInternal.com/api
}
thanks.
Currently, you can configure Hosts, Uris, Methods, to route to Upstream Server, based on which you can add “header” value routing?
e.g.
if (request_headers.ANDROID_VERSION is 4.1.1) {
redirect to /mockInternal.com/api
}
thanks.
Any update on this? How to make custom plugin with routing based on the headers?
This is supported in the core and doesn’t need a plugin.