fixing url in undeplApplication RestAPI