title: Get JSON from url gives Error [object object] not found
body: <p>I am requesting a JSON data from a url but its giving error as</p>
  
  <p><strong>GET http://localhost:10560/[object%20Object] 404 (Not Found)</strong> </p>
  
  <pre><code>   var mydata;
  $.getJSON({
      url: 'http://free.worldweatheronline.com/feed/weather.ashx?q=City,Country&amp;callback=?&amp;format=json&amp;num_of_days=2&amp;key=1111111111111111',
      dataType: 'json',
      success: function (data) {
          mydata = data;
          console.log(mydata);
      }
  });
  </code></pre>
  
  <p>How to get the json file and parse it?</p>