Created
June 9, 2017 11:12
-
-
Save josephmtinangi/a95586d9826ed8dca414a7b70db69697 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: '', | |
data: { | |
format: 'json' | |
}, | |
error: function() { | |
console.log('error'); | |
}, | |
dataType: 'json', | |
success: function(data) { | |
console.log(data); | |
}, | |
type: 'GET' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment