Skip to Content
0
Oct 29, 2018 at 03:33 PM

How to consume ML services from SAPUI5

132 Views

Hello,

I like to consume the SAP Leonardo ML service

"/scene-text-recognition" from my SAPUI5 app.

But I don't know how to fill the "oData" parameter in loadData method.

oModel.loadData("https://sandbox.api.sap.com/ml/scenetextrecognition/scene-text-recognition", oData, true, "POST", null, false, sHeaders);


How does the odata payload looks like?

Thanks in advance.

Kind regards

Axel