Good Afternoon.
I´m trying to acess data from this URL "https://corsanywhere.herokuapp.com/http://services.odata.org/V2/(S(frik5l2zde0sxh4jiifyhqo4))/OData/OData.svc/Products(2)";
I can acess to this Data , doing this code :
var x;
var aUrl =
var oModel = new sap.ui.model.json.JSONModel();
var aData = jQuery.ajax({
type: "GET",
contentType: "application/json",
url: aUrl,
dataType: "json",
success: function(data, textStatus, jqXHR) {
x = data.valueOf();
alert(x.Rating);
}
});
But when I try to acess the attribute x.Rating , he says that is unsigned .
Can tell me how to acess to some attribute from data ?
Thanks