progress - added ability to call a rest api