Schoolwork - consuming RESTful webservice