Hi Team,
I have a usecase where I have more than one TargetEndPoints.
In PostMan When I’m sending request body as json ,
My Request is:
{"Detail":{"Name":"Rishika","Age":"24","City":"Delhi"}}
Then it must Hit my target 1 :
When my Request as Xml :
<?xml version="1.0" encoding="UTF-8"?>
<root>
<Detail><Age>24</Age><City>Delhi</City><Name>Rishika</Name></Detail></root>
Then it must Hit my target 2 :
http://www.mocky.io/v2/5ca1e83a370000640089951c
When my request is other than Xml or Json then it hits :
http://www.mocky.io/v2/5ca1e8893700005900899521
My RouteRule Condition is as:
request.body = "application/json" ApigeeJson request.body = "application/xml" ApigeeXml defaultAny Advice what’s wrong here?
Thanks
Rishika