adding rest operation example