Rest API Sample