I want to invoke Business Rule from UI5 App which is built using Business Application Studio and deployed on SAP BTP.
As both UI5 Application and Business Rule deployed on SAP BTP with same trial account.
but when I am calling Business Rule from UI5 App as first we need to get xsrf-token then we need to make post call to business rule, but when calling get request for xsrf-token I am getting 404 not found Error.
Please find below is the Error.
Please find below the code to invoke business Rule from UI5 Application and configuration of destination in xs-app.json file.
Please find the below destination create in SAP BTP trial account.