var myFunc = function(url){ console.log(url); $http({ url: "http://example.me/", method: "GET", data:{url:url}, }).finally(function () { }) Not sure why when I echo in my PHP $_GET['url'] I didn't get anything, is there anything wrong with the snytax above? btw I didn't get any error.