this function generates url combining backend url and the related object properties for http requests
makeUrl(scope);