I am using parse in my node js.I can able to see the http service calls in node js terminal.But how can i log the parse service call ?
var Parse = require('parse').Parse;
Parse.initialize(APPLICATIONID,JAVASCRIPTID);
var locationMobileMsgs = Parse.Object.extend("LocationMobileMessages");
var locationMsgsSave = new locationMobileMsgs();
var locationMsgs = new Parse.Query(locationMobileMsgs);
locationMsgs.equalTo('LocationId',123);
locationMsgs.first({success:function(data){ },error:function(errData){
res.json(errData);
}
});
If i execute the code nothing is appearing in my terminal.But i can get result.How to make it appear. This is normal service call
Normal http calls in terminal
POST /api/getDatas 200 3336.533 ms - 1299
POST /api/getTemplates 200 1359.974 ms - 1468
POST /api/location 200 13946.743 ms - 427