diff --git a/index.html b/index.html
index f11c4f8..c108200 100644
--- a/index.html
+++ b/index.html
@@ -113,7 +113,12 @@
message: $('#message').val(),
}
}).then((data)=>{
- console.log(data);
+ console.log(JSON.parse(data));
+ if(JSON.parse(data).status == 200){
+ console.log('yay');
+ } else {
+ console.log('boo');
+ }
});
})
});