Hello
Can anyone tell me what I am doing wrong? I am just trying to get the main page to show via JSON and it is not having it.
http://codepen.io/jameswinfield/pen/beBLvY
Thanks
James
Hello
Can anyone tell me what I am doing wrong? I am just trying to get the main page to show via JSON and it is not having it.
http://codepen.io/jameswinfield/pen/beBLvY
Thanks
James
You just need &callback=?
in your URL, like so:
"https://en.wikipedia.org/w/api.php?action=query&titles=Main%20Page&prop=revisions&rvprop=content&format=json&callback=?"
Ahh thanks for that!