I am trying to build a dynamic upstream response. I want to change the upstream call based on information in a key meta or the api config_data.
Question is can i do that in a Pre middleware hook, or virtual endpoint and can i change the destination of the call on the fly?