Got retrieval from and update to REST server working.