rest api challenge