getJSON callback not successful

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

1 Like