Created
April 25, 2018 10:15
-
-
Save sjyun/f9484c881f53380a1903e29aefc30c18 to your computer and use it in GitHub Desktop.
credential
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
_jquery.default.ajax({ | |
url: url, | |
xhrFields: { | |
withCredentials: true | |
}, | |
complete: function complete(response) { | |
if (cb) { | |
cb(JSON.parse(response.responseText)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment