wip uploading to REST service