Hello all,
I am facing an issue while calling 2 api using destination in my simple FIORI App .
This app is visible in HTML5 applications on BTP subaccount.
In both the cases, I expect the routes to be resolved and correct API is to be called But it doesnt resolve and it takes the same URL of the fiori app and add the '/function' call/
Some code capture from my app
(1) This is the simple FIORI app without any app router and has xs-app.json with 2 destinations. This app is deployed using Launchpad service of BTP and is configured in a site.
northwind_v2:- of type 'No Authentication'

TestDestNPget :- of type 'OAuth2UserTokenExchange'

xs-app.json routes

(2) There is a destination service already bound to this app

(3) This the simple call in the controller.js

(4) When i run the app, i see error while calling the service.



Any advice ?
Regards,
Nilesh Puranik