How to make a ajax request to route and get its response?
dilusha100 - 2 weeks ago
I create messaging app and I need to mark messages read without reloading the page. But when I make a ajax request to the route, it nothing happens but returning the html code of the welcome page. So, is there any way to make a ajax request using jquery or any related library?