jeudi 19 février 2015

How to capture the json data from sabre api and display the Json data in table manner using html or ejs in node.js?


var storeJSONData;
exports.flightThemes=function(req,res){
var callback = function(error, data) {
if (error) {
console.log(error);
} else {
storeJSONData = JSON.parse(data);
res.send(storeJSONData);
}
};
sabre_dev_studio_flight.theme_airport_lookup('BEACH', callback)
}



  1. List item Here is my code my problem is to display dynamic json data given by the sabre API in a tabular format or user understandable format.plz solve the problem above..


Aucun commentaire:

Enregistrer un commentaire