Last active
July 21, 2016 20:43
-
-
Save nallenanderson/d9b71b0b826311a53ab082c3749b0a49 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create the array where we will store our JSON response. | |
let jsonData =[]; | |
// Get the original JSON from site | |
$.ajax({ | |
method: 'GET', | |
dataType: 'jsonp', | |
url: 'http://developers.modyo.com/media.json', | |
success: data => data.media, | |
error: err => console.log(err) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment