Created
October 9, 2018 13:15
-
-
Save kuznetsovandrey76/9a1e891c2e6c87b5be4073a80f348543 to your computer and use it in GitHub Desktop.
ajax jQuery
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
$.ajax({ | |
url: "https://raw.githubusercontent.com/kuznetsovandrey76/uniyar/master/data.json", | |
beforeSend: function(jqXHR, settings) { | |
console.log(settings) | |
}, | |
success: function(data, textStatus, jqXHR){ | |
console.log(JSON.parse(data).articles); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment