This commit is contained in:
Michael 2017-04-17 09:34:02 -04:00
parent 79ba9ce6d3
commit bfdf12ddf4

View file

@ -5,5 +5,10 @@
<p>Wow, an actual index page.</p>
<button class="btn btn-default" onclick="$.ajax({ url: '/API/TestNotification' });">Send test notification.</button>
<button class="btn btn-default" onclick="sendMessageToApi();">Send test notification.</button>
<script>
function sendMessageToApi() {
$.ajax({ url: "/API/TestNotification" });
}
</script>