Created
June 21, 2018 19:42
-
-
Save simoebenhida/67f94d07b74b435cae20b6ecd1ee7936 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
$.ajax({ | |
type : "POST", | |
url : 'URL', | |
data : data, | |
dataType : 'json', | |
encode : true | |
}).done(function(data) { | |
$('.response').empty().append(JSON.stringify(data,null,2)) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment