Hi,
I have 2 servers, the external system always send JSON requests to server1 ,and if server1 is down ,then only send JSON requests to Server2.
Server1
Server2
do we have option of verify the server URL is up or not before sending the requests and set target URL ? Can you please suggest me how to implement this .
Ideally this should be handled in the target Load Balancer and not Apigee. But if you still want to do it on Apigee, please check the following article , HealthMonitor section
Load balancing across backend servers | Apigee | Google Cloud