Skip to Content
0
Former Member
Oct 06, 2017 at 10:04 AM

SAP FIORI: How can I access data from URL which is accessed from calling API (JSON data)

263 Views

Hello All,

I am new to SAP FIORI. I have to call web service having JSON Array and JSON objects. In this JSON ARRAY we have element named URL as HTML pages. We have to fetch data from these HTML pages and display that data in list. JSON as follows:We have "results" JSON array, in this we have "url" tag having MAIN URL. And from this MAIN URL we have to fetch data. This url opens an HTML page and to open this we have to use some credentials.

{
"d" : {
"results" : [
{
"__metadata" : {
"uri" : "https://some url", "type" : "data"
}, 
"url" : "MAIN URL"
}]}}