I have created an one page web application using ember js. And I have installed the json.server in my local and created an json file(db.json). I really don't know how I can access my json.server in my application. I have used $.getJSON method and specified the json server URL http://localhost:3000/db.json(were my json server is running). But Its not any returning data. Please somebody give any suggestion of how I can access,edit my json file with ember js. Thanks in advance,
Aucun commentaire:
Enregistrer un commentaire