Cant recieve data from jQuery get command


#1

var address1 = "https://twin-mess-app.glitch.me/login?callback=?";
$.getJSON(address1 , function (data) {
jArray = data;
console.log(jArray);
});

address1 is not logging anything, tried with and without callback


#2

I have same problem, maybe we could merge our topics, I can give you info when I’ll receive instructions on how to fix it, it doesn’t only affect JSON’s


#3

Sure, but i don’t know how to merge


#4

I mean I will just send you informations about how to fix it, I’ve see guy who helps me in my project so I think that I might have answer soon


#5

Ok, thanks for any help then. mean while check out this app, i made it without the help of glitch because glitch was not working. on https://codepen.io/Anna6464/pen/MQmmzQ?editors=0010 on codepen search “Retro Contact”


#6

I can’t see your code example above in your referenced project. However, the error you see in your console happens because you renamed the /dreams route to /mess but you’re still looking for the get request from /dreams in the client.js file.