jeudi 19 février 2015

How to display json file without calling it directly?


I've been poking around a great website - http://ift.tt/ppvWnM trying to learn something new. Website uses a lot of Ajax in it, and also some interesting javascript - without any additional libraries.


In this single javascript file a found a reference to ajax json get request. You can even easily access the the json file on this url http://ift.tt/1Lil5wc , however I do not understand, why is this data being shown, without the "proper" path to the file.


And by proper I meant "http://ift.tt/1w2oYlNdata.json"


Any ideas?





Aucun commentaire:

Enregistrer un commentaire