hook up wsurl rest api