I am attempting to write a method so that i pass the url and application name and it return the response. I read that I can apply callback to resolve this but I am not able