add request functions in rest