RESTful client template