Restfull service tutorial