Reputation: 9
I've been poking around a great website - http://beta.rallyinteractive.com/ 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://beta.rallyinteractive.com/surrounding/studio/ , however I do not understand, why is this data being shown, without the "proper" path to the file.
And by proper I meant "somedomain.com/surrounding/studio/data.json"
Any ideas?
Upvotes: 0
Views: 37
Reputation: 29895
That's just the way they have their site hosting setup on the server and/or within the web application. If you request to the "/surrounding/studio/" folder then it returns the JSON response.
Upvotes: 2