Thanks Steve.
Where I can find info about the request.* variables to know that is immutable?
Considering what you said the subscriber only access to the last version of that api in the product.
What if I have different versions in different products? can I do something?
Regards
------------------------------
Filipe Ventura
------------------------------
Original Message:
Sent: Fri March 10, 2023 10:38 AM
From: Steve Linn
Subject: Call API based on Version
Hi Filipe,
You can have multiple versions of the same API published, and different subscribers can access the different versions. A subscriber should only subscribe to one version. If they somehow are subscribed to both versions, it is indeterminate as to which one will be executed, so that is definitely not a good practice.
As for rewriting request.path, request.* is immutable and cannot be changed.
Regards,
Steve
------------------------------
Steve Linn
Senior Consulting I/T Specialist
IBM
------------------------------