Hi,
We all know that using Northwind OData on BAS and/or Launchpad services for HTML5 apps works perfectly fine. However when we use REST API and try to follow same steps we run into issues when running HTML5 app from sites on Launchpad services. Surprisingly, app run from BAS works fine.
I have gone through blog series SAP Tech Bytes: Consume Data Using Destinations with an Approuter – Cloud Foundry Basics #3 by Nicolai Geburek however have no luck yet.
Sharing some details and github repo as well
Github Repo to review xs-app.json, ui5.yaml etc
BTP destination config:

Issue:
Ajax code:

Error for Ajax call under network tag

When we look at other calls on Network tab, I see one of them trying to call $metadata and when I use the Reuest URL and manually change the path I am able to reach the destination. However this doesn't happen when a AJAX call is made from one of the controllers :

manually change the path

In other words, I understand is that, Launchpad service could use destination service(shown below) for OData calls however fails to do the same when a ajax call is made from app
