Example for rest application