I have an action in my CAP application which is triggering a call to an external application.
The logic is using the destination service to connect to the target system.
const myApi = await cds.connect.to("MYDESTINATION");
The payload I need to send to the destination differs from runtime environment (or destination URL).
Means JSON payload (and the ID's inside it) on DEV, QA and PROD system (speparate BTP subaccounts) differs.
So I need to add a logic which is able to identify the system (or maybe the URL of the destination) to be able to prepare the right payload.
Is there any standard way to get this information?