Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:Apps
-
HD-Enabler:Wirecloud
Description
Created question in FIWARE Q/A platform on 27-05-2014 at 12:05
Please, ANSWER this question AT http://stackoverflow.com/questions/23886669/make-a-wirecloud-query-using-ngsi-api
Question:
Make a wirecloud query using NGSI API
Description:
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,
);
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?
2015-10-23 03:05|CREATED monitor | # answers= 1, accepted answer= True