Base template including sample codes for RESTful API