I have a question about how the POST middleware can modify the target for an API.
I’d like to redirect the upstream target to a different host, depending on some meta_data associated with each API key.
I know I can change the request.URL property to change the path of the target. However, I can’t see any obvious way to modify the actual target HOST as well.
Can anyone offer me a hint?