added GET api call to resolve url