I'm trying to make a query using NGSI API in my Wire Cloud widget but always fails and I don't receive anything:
var descubrimiento = connection.query([{
isPattern: true,
id: MashupPlatform.prefs.get('idfuente')
}],
null,
{
flat: true
}
);
connection
is the object where I have the connection with the context broker and it works fine. Also if I make the query with the NGSI10 RESTful API via RESTclient I receive the data that I want but with the wirecloud NGSI API in my widget it is imposible to make the query.
Someone has this problem too?