SAP-archive / cloud-xsa-hybrid-deployment-tutorial

The Multi Target Application in this tutorial will be built using Microservices leveraging the powerful HANA database capabilities in combination with flexible cloud technology.
Apache License 2.0
22 stars 16 forks source link

Error in utils.js #2

Open fableh opened 6 years ago

fableh commented 6 years ago

Hi all,

there is al littel error/type in the excercise 3. Im the Utils.js the ajax post call has the wrong url:

$.ajax({ type: "POST", url: "country/country.xsjs",

should be change to:

$.ajax({ type: "POST", url: "/country.xsjs",

thx and br, fabian

beckermarc commented 6 years ago

https://github.com/SAP/cloud-xsa-hybrid-deployment-tutorial/tree/master/exercise2#step-4---adding-business-logic-with-javascript suggests to place the country.xsjs under a country subfolder. Seems like you omitted that, but debugged the issue successfully yourself :)