-
-
Save justinyoo/4155055c5476ecde07d37e834fba7feb to your computer and use it in GitHub Desktop.
Implementing HTTP Request Handler on ASP.NET Core Applications
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": "http://apiserver/endpoint", | |
"headers": { | |
"AUTHORIZATION": "Basic xxxxxx", | |
"X-API-KEY": "Secret Garden" | |
}}).done(function(data) { | |
// Do UI logic here. | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment