restfull template