I am sending an ajax request to my server like this :
var data = \'\'; $.ajax({ type: \'GET\', url: \'api/getnews/home/post/\'+title, data: