Add Hello World to body
This commit is contained in:
@@ -2,11 +2,12 @@ $(function() {
|
|||||||
|
|
||||||
$('#sendNotificationButton').on('click', function() {
|
$('#sendNotificationButton').on('click', function() {
|
||||||
$.post('/send-notification', {
|
$.post('/send-notification', {
|
||||||
identity: $('#identityInput').val()
|
identity: $('#identityInput').val(),
|
||||||
|
body: "Hello, World!"
|
||||||
}, function(response) {
|
}, function(response) {
|
||||||
$('#identityInput').val('');
|
$('#identityInput').val('');
|
||||||
$('#message').html(response.message);
|
$('#message').html(response.message);
|
||||||
console.log(response);
|
console.log(response);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user