Skip to content

Tag: https

Json path starting with 0

I’m trying to get the data from a https.get request to an API and the json path has a 0 at the beginning. What does it mean and how do I access the data? The path is 0.length and the json chart viewer throws an error. The data looks like this in json viewer: Answer 0 is index of array,

Why JavaScript is not working in HTTPS on my site

I have just added HTTPS to my site and apparently the only script I have on my site has stopped working. I don’t think it is a problem of the script, but here it is: What is the solution to this problem? Answer Add your jQuery file like this, without mentioning the protocol explicitly: Removing the http: part from src