Skip to content

Commit

Permalink
getJSON: Fix Example by using https
Browse files Browse the repository at this point in the history
Closes gh-1072

Error was:

Mixed Content: The page at 'https://api.jquery.com/jquery.getjson/' was loaded over HTTPS, but requested an insecure script 'http://api.flickr.com/services/feeds/photos_public.gne?jsoncallback=jQuery110203890736409927371_1513688901634&tags=mount+rainier&tagmode=any&format=json&_=1513688901635'. This request has been blocked; the content must be served over HTTPS.
  • Loading branch information
pinguin999 authored and AurelioDeRosa committed Feb 10, 2018
1 parent 9d03b37 commit 530dbce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entries/jQuery.getJSON.xml
Expand Up @@ -95,7 +95,7 @@ jqxhr.complete(function() {
<desc>Loads the four most recent pictures of Mount Rainier from the Flickr JSONP API.</desc>
<code><![CDATA[
(function() {
var flickerAPI = "http://api.flickr.com/services/feeds/photos_public.gne?jsoncallback=?";
var flickerAPI = "https://api.flickr.com/services/feeds/photos_public.gne?jsoncallback=?";
$.getJSON( flickerAPI, {
tags: "mount rainier",
tagmode: "any",
Expand Down

0 comments on commit 530dbce

Please sign in to comment.