title: Using an AJAX GET request to get an object
body: <p>I have a program using the node.js express framework.
  In there I have a file called index.js, that handles the server side of things.
  It has an object (latestResults = {}), that stores json objects assigned to timestamps(latestResults[timestamp] = jsonObj).</p>
  
  <p>In a file called visualization.js(client) I want to access that object.
  I wanted to use an AJAX GET request, but frankly I don't know how that would look like and I couldn't find anything on the web. 
  How could the url look like?</p>