Created
April 4, 2015 10:28
-
-
Save ignatov/07fed1826c6162504294 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
<html> | |
<head> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
<script> | |
$(document).ready(function () { | |
$.ajax({ | |
url: 'http://localhost:63342/api/about', | |
dataType: 'jsonp', | |
success: function (data) { | |
$('#version').html(data.productName + " " + data.baselineVersion); | |
} | |
}); | |
}) | |
</script> | |
</head> | |
<body> | |
<div id='version'></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment