getJSON callback not successful

getJSON callback not successful
0.0 0


My callback isn’t working and I can’t see why. I’ve tested the URL and that works fine. Can anyone spot whats wrong?

   function getWeather(c,r){
  $.getJSON("", function(data) {


Hi @EndaMolloy

You need prepend http like so:

What it’s doing at the moment is seeing that as a relative path and doing something like:{...}/{...}


Such a silly oversight, thank you